From cf4bfce5608558cdffa703b1b13e65f9c8b6bfda Mon Sep 17 00:00:00 2001
From: korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed, 19 Feb 2003 02:38:22 +0000
Subject: [PATCH] mark the fixes that fail testing with BSD based sed-s

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63086 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/fixinc/inclhack.def              | 6 +++---
 gcc/fixinc/tests/base/Xm/Traversal.h | 2 +-
 gcc/fixinc/tests/base/sys/stat.h     | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 64a479a19d94..213374a04f80 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 6ca893e3c3aa..61e6df1164ea 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 a0da6db01b2f..6893e6bdf27f 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 */
 
 
-- 
GitLab