Commit 3175776e by Bruce Korb Committed by Bruce Korb

fix a selection expression, skip a bypass

From-SVN: r27467
parent 6cf32035
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> Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t. * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
......
...@@ -600,7 +600,7 @@ fix = { ...@@ -600,7 +600,7 @@ fix = {
*/ */
fix = { fix = {
hackname = ioctl_fix_ctrl; hackname = ioctl_fix_ctrl;
select = "CTRL[ \t]"; select = "CTRL[ \t]*\\(";
sed = "/[^A-Z0-9_]CTRL[ \t]*(/" sed = "/[^A-Z0-9_]CTRL[ \t]*(/"
"s/\\([^']\\))/'\\1')/"; "s/\\([^']\\))/'\\1')/";
...@@ -1517,13 +1517,9 @@ fix = { ...@@ -1517,13 +1517,9 @@ fix = {
files = rpc/svc.h; files = rpc/svc.h;
files = rpc/xdr.h; files = rpc/xdr.h;
/* /*
* Select those files containing '(*name)()' but *not* * Select those files containing '(*name)()'.
* containing '(*name)(junk)'. The change would be innocuous
* but there is no point bothering if the fix is not needed.
*/ */
select = '\(\*[a-z][a-z_]*\)\(\)'; select = '\(\*[a-z][a-z_]*\)\(\)';
bypass = "^[a-zA-Z0-9_ \t]*" '\(\*[a-z][a-z_]*\)\('
"[ \t]*[a-zA-Z.].*" '\)';
sed = 's' sed = 's'
'/^\(.*(\*[a-z][a-z_]*)(\)' '\();.*\)' '/^\(.*(\*[a-z][a-z_]*)(\)' '\();.*\)'
"/\\\n" "/\\\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment