OSDN Git Service

2007-02-05 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Feb 2007 21:22:48 +0000 (21:22 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Feb 2007 21:22:48 +0000 (21:22 +0000)
* inclhack.def (glibc_c99_inline_4): Adjust selector to cope
with older glibc.  Adjust version number for C99.
* fixincl.x: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121614 138bc75d-0d04-0410-961f-82ee72b054a4

fixincludes/ChangeLog
fixincludes/fixincl.x
fixincludes/inclhack.def

index 1efabd5..67bd377 100644 (file)
@@ -1,3 +1,9 @@
+2007-02-05  Richard Guenther  <rguenther@suse.de>
+
+       * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
+       with older glibc.  Adjust version number for C99.
+       * fixincl.x: Regenerated.
+
 2007-02-04  Mike Stump  <mrs@apple.com>
 
        * mkheaders.in: Allow optional isysroot parameter.
index f97bdb6..ffb4c97 100644 (file)
@@ -2,11 +2,11 @@
  * 
  * DO NOT EDIT THIS FILE   (fixincl.x)
  * 
- * It has been AutoGen-ed  Sunday February  4, 2007 at 07:08:33 AM PST
+ * It has been AutoGen-ed  Monday February  5, 2007 at 05:33:02 PM CET
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Sun Feb  4 07:08:34 PST 2007
+/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Feb  5 17:33:02 CET 2007
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
@@ -2320,7 +2320,7 @@ tSCC zGlibc_C99_Inline_4List[] =
  *  content selection pattern - do fix if pattern found
  */
 tSCC zGlibc_C99_Inline_4Select0[] =
-       " extern ";
+       "(^| )extern ";
 
 /*
  *  content bypass pattern - skip fix if pattern found
@@ -2339,7 +2339,7 @@ static tTestDesc aGlibc_C99_Inline_4Tests[] = {
 static const char* apzGlibc_C99_Inline_4Patch[] = {
     "format",
     "\n\
-#if __STDC_VERSION__ < 19901L\n\
+#if __STDC_VERSION__ < 199901L\n\
 extern\n\
 #endif\n",
     (char*)NULL };
index 24dc087..e47d7bd 100644 (file)
@@ -1369,9 +1369,9 @@ fix = {
     hackname  = glibc_c99_inline_4;
     files     = sys/sysmacros.h, '*/sys/sysmacros.h';
     bypass    = "__STDC_VERSION__";
-    select    = ' extern ';
+    select    = '(^| )extern ';
     c_fix     = format;
-    c_fix_arg = "\n#if __STDC_VERSION__ < 19901L\nextern\n#endif\n";
+    c_fix_arg = "\n#if __STDC_VERSION__ < 199901L\nextern\n#endif\n";
     test_text = <<-EOT
        __extension__ extern __inline unsigned int
        __extension__ __extern_inline unsigned int