summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-09-16 15:36:07 +0200
committerNicholas Clark <nick@ccl4.org>2011-09-21 10:40:57 +0200
commitd9829d09b38187d6d0048e58ce927c0ebf037672 (patch)
tree6feb1cf32089291126b122bd7ecfa206d19434bc
parentf4ca0be2c78f0bfb6a1cba6fc3b9557e88395b33 (diff)
downloadperl-d9829d09b38187d6d0048e58ce927c0ebf037672.tar.gz
Tighten the checking regex in checkcfgvar.pl.
Fix the dubious line in symbian/config.sh which this exposes.
-rwxr-xr-xPorting/checkcfgvar.pl2
-rw-r--r--symbian/config.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Porting/checkcfgvar.pl b/Porting/checkcfgvar.pl
index d288f3cdad..baefd4c9e8 100755
--- a/Porting/checkcfgvar.pl
+++ b/Porting/checkcfgvar.pl
@@ -97,7 +97,7 @@ for my $cfg (sort @CFG) {
next if /^\#/ || /^\s*$/ || /^\:/;
# foo='bar'
# foo=bar
- if (/^(\w+)=('?)(?:.*)\2$/) {
+ if (/^(\w+)=(?:'.*'|[^'].*)$/) {
++$cfg{$1};
} else {
warn "$cfg:$.:$_";
diff --git a/symbian/config.sh b/symbian/config.sh
index 0641b637eb..e218a55964 100644
--- a/symbian/config.sh
+++ b/symbian/config.sh
@@ -699,7 +699,7 @@ osname='symbian'
osvers='7.0s'
otherlibdirs=''
package=''
-path_sep=';';
+path_sep=';'
perl_static_inline='static'
phostname='hostname'
pidtype='int'