fix a selection expression, skip a bypass

From-SVN: r27467
This commit is contained in:
Bruce Korb 1999-06-10 07:25:33 +00:00 committed by Bruce Korb
parent 6cf32035ac
commit 3175776eca
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,9 @@
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.
Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.

View File

@ -600,7 +600,7 @@ fix = {
*/
fix = {
hackname = ioctl_fix_ctrl;
select = "CTRL[ \t]";
select = "CTRL[ \t]*\\(";
sed = "/[^A-Z0-9_]CTRL[ \t]*(/"
"s/\\([^']\\))/'\\1')/";
@ -1517,13 +1517,9 @@ fix = {
files = rpc/svc.h;
files = rpc/xdr.h;
/*
* Select those files containing '(*name)()' but *not*
* containing '(*name)(junk)'. The change would be innocuous
* but there is no point bothering if the fix is not needed.
* Select those files containing '(*name)()'.
*/
select = '\(\*[a-z][a-z_]*\)\(\)';
bypass = "^[a-zA-Z0-9_ \t]*" '\(\*[a-z][a-z_]*\)\('
"[ \t]*[a-zA-Z.].*" '\)';
sed = 's'
'/^\(.*(\*[a-z][a-z_]*)(\)' '\();.*\)'
"/\\\n"