From 3175776ecac2dd586ceff99dfbd5c83f73beb65e Mon Sep 17 00:00:00 2001 From: Bruce Korb Date: Thu, 10 Jun 1999 07:25:33 +0000 Subject: [PATCH] fix a selection expression, skip a bypass From-SVN: r27467 --- gcc/ChangeLog | 6 ++++++ gcc/fixinc/inclhack.def | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c52ae7ea71c..be98eebd8a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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. + Thu Jun 10 15:08:15 1999 Nick Clifton * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t. diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 71539703099..829c83eae25 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -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" -- 2.30.2