mark the fixes that fail testing with BSD based sed-s
authorBruce Korb <korbb@gcc.gnu.org>
Wed, 19 Feb 2003 02:38:22 +0000 (02:38 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Wed, 19 Feb 2003 02:38:22 +0000 (02:38 +0000)
From-SVN: r63086

gcc/fixinc/inclhack.def
gcc/fixinc/tests/base/Xm/Traversal.h
gcc/fixinc/tests/base/sys/stat.h

index 64a479a..213374a 100644 (file)
@@ -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 );";
 };
 
index 6ca893e..61e6df1 100644 (file)
@@ -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 );
index a0da6db..6893e6b 100644 (file)
@@ -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 */