summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-01-07 17:33:30 +0000
committerHerb Lewis <herb@samba.org>2003-01-07 17:33:30 +0000
commit26c01d3f7bc683c416abfe00a6ea19a8c3265185 (patch)
tree52e1057923e90e914ed435bed48ee403d13cce2b
parent7b4bf92955ece4b14e333e16e346b3057ab14fe3 (diff)
downloadsamba-26c01d3f7bc683c416abfe00a6ea19a8c3265185.tar.gz
samba-26c01d3f7bc683c416abfe00a6ea19a8c3265185.tar.bz2
samba-26c01d3f7bc683c416abfe00a6ea19a8c3265185.zip
add and escape before $( in regex string so it is not interpreted as the
perl variable for "real gid of this process" (This used to be commit cfe2d01b7de846229e87c151059d80756929d129)
-rwxr-xr-xsource3/script/genstruct.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/genstruct.pl b/source3/script/genstruct.pl
index e6d30773d6..081b81f510 100755
--- a/source3/script/genstruct.pl
+++ b/source3/script/genstruct.pl
@@ -136,7 +136,7 @@ sub parse_elements($$)
print OFILE "static const struct parse_struct pinfo_" . $name . "[] = {\n";
- while ($elements =~ /^.*?([a-z].*?);\s*?(\S*?)\s*?$(.*)/msi) {
+ while ($elements =~ /^.*?([a-z].*?);\s*?(\S*?)\s*?\$(.*)/msi) {
my($element) = $1;
my($flags) = $2;
$elements = $3;