aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-11-07 17:34:40 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-11-07 17:34:40 +0000
commit98e06787f5cee2336535be4400afc68744378cbf (patch)
tree063bbd4f4ce14459a60569ec0f8c5793fd9f215d
parent285e4952c1e61a57b537f29479860d81bf50ce3a (diff)
downloadgcc-98e06787f5cee2336535be4400afc68744378cbf.zip
gcc-98e06787f5cee2336535be4400afc68744378cbf.tar.gz
gcc-98e06787f5cee2336535be4400afc68744378cbf.tar.bz2
inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3 systems.
2006-11-07 Richard Guenther <rguenther@suse.de> * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3 systems. * fixincl.x: Regenerate. From-SVN: r118558
-rw-r--r--fixincludes/ChangeLog6
-rw-r--r--fixincludes/fixincl.x13
-rw-r--r--fixincludes/inclhack.def8
3 files changed, 16 insertions, 11 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index b244560..0e70111 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,3 +1,9 @@
+2006-11-07 Richard Guenther <rguenther@suse.de>
+
+ * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
+ systems.
+ * fixincl.x: Regenerate.
+
2006-11-02 Geoffrey Keating <geoffk@apple.com>
* inclhack.def (glibc_c99_inline_1): New.
diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x
index 4ace83f..e1e1c38 100644
--- a/fixincludes/fixincl.x
+++ b/fixincludes/fixincl.x
@@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed Friday November 3, 2006 at 03:53:48 AM CET
+ * It has been AutoGen-ed Monday November 6, 2006 at 11:04:01 AM CET
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT CVS-MERGE THIS FILE, EITHER Fri Nov 3 03:53:48 CET 2006
+/* DO NOT CVS-MERGE THIS FILE, EITHER Mon Nov 6 11:04:01 CET 2006
*
* You must regenerate it. Use the ./genfixes script.
*
@@ -2253,15 +2253,14 @@ static const char* apzGlibc_C99_Inline_2Patch[] = { "sed",
extern\\\n\
#endif\\\n\
__inline__ int \\1/",
- "-e", "s/extern int __REDIRECT_NTH (\\(stat\\|lstat\\|fstat\\)/#if __STDC_VERSION__ < 199901L\\\n\
+ "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#if __STDC_VERSION__ < 199901L\\\n\
extern\\\n\
#endif\\\n\
-__inline__ int __REDIRECT_NTH (\\1/",
- "-e", "/^extern __inline__ int$/ c\\\n\
-#if __STDC_VERSION__ < 199901L\\\n\
+__inline__ int __REDIRECT\\1 (\\2/",
+ "-e", "s/^extern __inline__ int/#if __STDC_VERSION__ < 199901L\\\n\
extern\\\n\
#endif\\\n\
-__inline__ int\n",
+__inline__ int/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index bf3517a..043f8db 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -1319,12 +1319,12 @@ fix = {
sed = "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/"
"#if __STDC_VERSION__ < 199901L\\\nextern\\\n#endif\\\n"
"__inline__ int \\1/";
- sed = "s/extern int __REDIRECT_NTH (\\(stat\\|lstat\\|fstat\\)/"
+ sed = "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/"
"#if __STDC_VERSION__ < 199901L\\\nextern\\\n#endif\\\n"
- "__inline__ int __REDIRECT_NTH (\\1/";
- sed = "/^extern __inline__ int$/ c\\\n"
+ "__inline__ int __REDIRECT\\1 (\\2/";
+ sed = "s/^extern __inline__ int/"
"#if __STDC_VERSION__ < 199901L\\\nextern\\\n#endif\\\n"
- "__inline__ int\n";
+ "__inline__ int/";
test_text = <<-EOT
extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
extern __inline__ int