Correct quoting rules

From-SVN: r27470
This commit is contained in:
Bruce Korb 1999-06-10 14:36:02 +00:00 committed by Bruce Korb
parent 0aa54da2ef
commit b45293b521
2 changed files with 2 additions and 1 deletions

View 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

View 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,[^:]//[^"].*$,,';