]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fix a selection expression, skip a bypass
authorBruce Korb <ddsinc09@ix.netcom.com>
Thu, 10 Jun 1999 07:25:33 +0000 (07:25 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Thu, 10 Jun 1999 07:25:33 +0000 (07:25 +0000)
From-SVN: r27467

gcc/ChangeLog
gcc/fixinc/inclhack.def

index c52ae7ea71c2108ef2652b8edebc72ed61dea810..be98eebd8a13bc75c54026cb5a9d500b5aedf01f 100644 (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.
index 71539703099b91b9237ecd0fbfc9d2940097e85a..829c83eae258d43a9930bf46bae0318ef2237670 100644 (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"