]> git.ipfire.org Git - thirdparty/gcc.git/commit
sed portability fixes in fixincludes
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 8 Sep 2009 17:30:31 +0000 (17:30 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Tue, 8 Sep 2009 17:30:31 +0000 (17:30 +0000)
commita3d37119695a4b77a17a54f6a7f5faae2e36e461
tree4eb6c0e5cef9f80cd8dc2be0ad8ff00541a7fe2b
parentfa8023742a963773b871d56836dfbff5df08ae1c
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
fixincludes/ChangeLog
fixincludes/README
fixincludes/check.tpl
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/mkheaders.in
fixincludes/tests/base/Xm/Traversal.h