summaryrefslogtreecommitdiff
path: root/fixincludes/tests
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-09-08 17:30:31 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2009-09-08 17:30:31 +0000
commita3d37119695a4b77a17a54f6a7f5faae2e36e461 (patch)
tree4eb6c0e5cef9f80cd8dc2be0ad8ff00541a7fe2b /fixincludes/tests
parentfa8023742a963773b871d56836dfbff5df08ae1c (diff)
downloadgcc-a3d37119695a4b77a17a54f6a7f5faae2e36e461.tar.gz
sed portability fixes in fixincludes
fixincludes/: PR testsuite/29737 PR bootstrap/35938 PR testsuite/39655 * check.tpl: Fix typos. * README: Likewise. Also, document that 'select' uses ERE. * mkheaders.in: Update copyright years in --version output. * inclhack.def (sco_math): Add missing final newline in sed script 'a', 'c', or 'i' commands, for BSD sed. (sco_math): In the text of 'a', 'c', or 'i' sed commands, prepend leading white space with a backslash to avoid the whitespace to be removed by BSD sed. (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex. (x11_new): Fix sed expression, for BSD sed. (glibc_mutex_init): Fix newlines in sed 's' command replacement part, for GNU sed 3.02 and Solaris sed. (glibc_mutex_init): Replace unportable \+ sed regex operator with \{1,\}. (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed alternation \| regex operator. (solaris_complex): Remove superfluous backslashes from replacement string. Replace \+ operator with \{1,\}. * tests/base/Xm/Traversal.h: This is fixed for BSD sed now. * fixincl.x: Regenerate. From-SVN: r151518
Diffstat (limited to 'fixincludes/tests')
-rw-r--r--fixincludes/tests/base/Xm/Traversal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixincludes/tests/base/Xm/Traversal.h b/fixincludes/tests/base/Xm/Traversal.h
index 61e6df1164e..2b3cba73fa1 100644
--- a/fixincludes/tests/base/Xm/Traversal.h
+++ b/fixincludes/tests/base/Xm/Traversal.h
@@ -14,7 +14,7 @@ struct wedge {
#ifdef __cplusplus
Widget old, c_new;
#else
- Widget old, new; /* fixinc check FAILS ON BSD */
+ Widget old, new;
#endif
};
extern Wedged( Widget c_new, Widget old );