From ffdef7ad202aa0363a8640f5107086b541817071 Mon Sep 17 00:00:00 2001 From: korbb Date: Thu, 10 Jun 1999 14:36:02 +0000 Subject: [PATCH] Correct quoting rules git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27470 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 1 + gcc/fixinc/inclhack.def | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 *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,[^:]//[^"].*$,,'; -- 2.7.4