From: korbb Date: Wed, 19 Feb 2003 02:38:22 +0000 (+0000) Subject: mark the fixes that fail testing with BSD based sed-s X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=cf4bfce5608558cdffa703b1b13e65f9c8b6bfda 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 --- diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 64a479a19d9..213374a04f8 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 6ca893e3c3a..61e6df1164e 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 a0da6db01b2..6893e6bdf27 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 */