Correct quoting rules
authorBruce Korb <ddsinc09@ix.netcom.com>
Thu, 10 Jun 1999 14:36:02 +0000 (14:36 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Thu, 10 Jun 1999 14:36:02 +0000 (14:36 +0000)
From-SVN: r27470

gcc/ChangeLog
gcc/fixinc/inclhack.def

index 825a4ee79be7965b17e1d636edaadaef8b4c5b05..7b6b5a76ad7c63bdc1ef0d73abdfc63027f115a9 100644 (file)
@@ -10,6 +10,7 @@ Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
        *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
 
index 829c83eae258d43a9930bf46bae0318ef2237670..7f7401e467425be578ae497d955a033b5d858559 100644 (file)
@@ -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,[^:]//[^"].*$,,';