aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Korb <korbb@gcc.gnu.org>2003-02-19 02:38:22 +0000
committerBruce Korb <korbb@gcc.gnu.org>2003-02-19 02:38:22 +0000
commit34fcb7c802299a46d61b7ac7fc03bd80fe307cd7 (patch)
treef22afb09920d67f4f01622df2e2b86a982ba0884
parentafc41460c20441cf4a8d7af1288502a4694bd149 (diff)
downloadgcc-34fcb7c802299a46d61b7ac7fc03bd80fe307cd7.zip
gcc-34fcb7c802299a46d61b7ac7fc03bd80fe307cd7.tar.gz
gcc-34fcb7c802299a46d61b7ac7fc03bd80fe307cd7.tar.bz2
mark the fixes that fail testing with BSD based sed-s
From-SVN: r63086
-rw-r--r--gcc/fixinc/inclhack.def6
-rw-r--r--gcc/fixinc/tests/base/Xm/Traversal.h2
-rw-r--r--gcc/fixinc/tests/base/sys/stat.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 64a479a..213374a 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -1952,7 +1952,7 @@ fix = {
"#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 @@ fix = {
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 @@ fix = {
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 );";
};
diff --git a/gcc/fixinc/tests/base/Xm/Traversal.h b/gcc/fixinc/tests/base/Xm/Traversal.h
index 6ca893e..61e6df1 100644
--- a/gcc/fixinc/tests/base/Xm/Traversal.h
+++ b/gcc/fixinc/tests/base/Xm/Traversal.h
@@ -14,7 +14,7 @@ struct wedge {
#ifdef __cplusplus
Widget old, c_new;
#else
- Widget old, new; /* fix the new */
+ Widget old, new; /* fixinc check FAILS ON BSD */
#endif
};
extern Wedged( Widget c_new, Widget old );
diff --git a/gcc/fixinc/tests/base/sys/stat.h b/gcc/fixinc/tests/base/sys/stat.h
index a0da6db..6893e6b 100644
--- a/gcc/fixinc/tests/base/sys/stat.h
+++ b/gcc/fixinc/tests/base/sys/stat.h
@@ -26,7 +26,7 @@ static int stat(const char *__f, struct stat *__p) {
}
#endif /* __cplusplus */
-# else /* !__STDC__ */
+# else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
@@ -52,7 +52,7 @@ static int stat(__f, __p)
fstat(),
lstat(),
-
+/* THE INSERTION LINE FAILS ON BSD SYSTEMS */
#endif /* ULTRIX_STAT_CHECK */