From 34fcb7c802299a46d61b7ac7fc03bd80fe307cd7 Mon Sep 17 00:00:00 2001 From: Bruce Korb Date: Wed, 19 Feb 2003 02:38:22 +0000 Subject: [PATCH] mark the fixes that fail testing with BSD based sed-s From-SVN: r63086 --- 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 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 */ -- 2.7.4