This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fixinc patch
- From: Bruce Korb <bkorb at veritas dot com>
- To: GCC-Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Feb 2003 18:51:10 -0800
- Subject: fixinc patch
- Organization: Home
I've re alphabetized the fixes and tagged the fixes that use
'i' or 'a' sed commands:
$ diff -u inclhack.def*~ incl*def
--- inclhack.def.~1.145.~ Tue Feb 18 18:26:18 2003
+++ inclhack.def Tue Feb 18 18:33:49 2003
@@ -1952,7 +1952,7 @@
"#ifdef __STDC__\n"
"static int\tstat(const char *__f, struct stat *__p) {\n"
"\treturn __stat32(__f, __p);\n"
- "}\n\n# else /* !__STDC__ */\n"
+ "}\n\n# else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */\n"
"static int\tstat(__f, __p)\n"
"\tchar *__f;\n"
@@ -2988,7 +2988,7 @@
test_text =
"@(#)stat.h 6.1 (ULTRIX)\n"
"#define S_IFPORT S_IFIFO\n"
- "\tfstat(),\n";
+ "\tfstat(),\n/* THE INSERTION LINE FAILS ON BSD SYSTEMS */";
};
@@ -3321,7 +3321,7 @@
sed = "s/Widget new,/Widget c_new,/g";
test_text =
"struct wedge {\n"
- " Widget\told, new; /* fix the new */\n"
+ " Widget\told, new; /* fixinc check FAILS ON BSD */\n"
"};\nextern Wedged( Widget new, Widget old );";
};