aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Korb <ddsinc09@ix.netcom.com>1999-06-10 14:36:02 +0000
committerBruce Korb <korbb@gcc.gnu.org>1999-06-10 14:36:02 +0000
commitb45293b5210642da7bfea2d3dcc7ba2157c87284 (patch)
tree0144458d517b0b924000c1d1d9daa3878d28192c
parent0aa54da2ef5219a097442dfeb17b082b6361d41b (diff)
downloadgcc-b45293b5210642da7bfea2d3dcc7ba2157c87284.zip
gcc-b45293b5210642da7bfea2d3dcc7ba2157c87284.tar.gz
gcc-b45293b5210642da7bfea2d3dcc7ba2157c87284.tar.bz2
Correct quoting rules
From-SVN: r27470
-rw-r--r--gcc/ChangeLog1
-rw-r--r--gcc/fixinc/inclhack.def2
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 825a4ee..7b6b5a7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 829c83e..7f7401e 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,[^:]//[^"].*$,,';