OSDN Git Service

sed portability fixes in fixincludes
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Sep 2009 17:30:31 +0000 (17:30 +0000)
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Sep 2009 17:30:31 +0000 (17:30 +0000)
commitb795c8d1f5cc95979bc8871b21fcb2896900d7fa
tree4eb6c0e5cef9f80cd8dc2be0ad8ff00541a7fe2b
parentffbee577bee09048af600b70a6a04c691187fc78
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151518 138bc75d-0d04-0410-961f-82ee72b054a4
fixincludes/ChangeLog
fixincludes/README
fixincludes/check.tpl
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/mkheaders.in
fixincludes/tests/base/Xm/Traversal.h