From 26c01d3f7bc683c416abfe00a6ea19a8c3265185 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Tue, 7 Jan 2003 17:33:30 +0000 Subject: [PATCH] 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) --- source3/script/genstruct.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/script/genstruct.pl b/source3/script/genstruct.pl index e6d30773d64..081b81f5102 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; -- 2.11.4.GIT