From: Bruce Korb Date: Thu, 10 Jun 1999 14:36:02 +0000 (+0000) Subject: Correct quoting rules X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b45293b5210642da7bfea2d3dcc7ba2157c87284;p=gcc.git Correct quoting rules From-SVN: r27470 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 825a4ee79be..7b6b5a76ad7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -10,6 +10,7 @@ Thu Jun 10 06:55 1999 Bruce Korb *fixinc/inclhack.def(sun_auth_proto): We do not know how to test for the presence of valid prototypes. Delete bypass expr. (ioctl_fix_ctrl): Correct the selection expression. + (no_double_slash): Correct quoting rules *fixinc/fixincl.x: regen *fixinc/inclhack.sh: regen diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 829c83eae25..7f7401e4674 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -350,7 +350,7 @@ fix = { * Also, only accept double slashes that are not part of URL's * and are not the end of a quoted string. */ - test = " -z \"`echo ${file} | egrep \'(CC|cxx|\+\+)/\' `\""; + test = ' -z "`echo ${file} | egrep \'(CC|cxx|\+\+)/\'`"'; select = '(^|[^:])//[^"*]'; sed = 's,^//.*$,,'; sed = 's,[^:]//[^"].*$,,';