]> git.ipfire.org Git - thirdparty/gcc.git/commit
Port to hosts whose 'sort' and 'tail' implementations treat operands with leading...
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 6 Jul 2006 23:24:51 +0000 (23:24 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 6 Jul 2006 23:24:51 +0000 (23:24 +0000)
commit27b56ba6cc4d22c0407c0372ec8d6de20e9ac2a7
treefb41ac292252903edcd6ef7a56a825224d78fa07
parent525dc87d06289ac03a09201758ab9f43bdd856bf
Port to hosts whose 'sort' and 'tail' implementations treat operands with leading '+' as file names...

Port to hosts whose 'sort' and 'tail' implementations
treat operands with leading '+' as file names, as POSIX
has required since 2001.  However, make sure the code still
works on pre-POSIX hosts.
* ltmain.sh: Don't assume "sort +2" is equivalent to
"sort -k 3", since POSIX 1003.1-2001 no longer requires this.

contrib:
* compare_tests: Don't assume "sort +2" is equivalent to
"sort -k 3", since POSIX 1003.1-2001 no longer requires this.
gcc:
* Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
which says you should use "tail -c +N" rather than "tail +Nc".
Fix a bug: the old code incorrectly skipped 15 bytes, not 16.

From-SVN: r115234
ChangeLog
contrib/ChangeLog
contrib/compare_tests
gcc/ChangeLog
gcc/Makefile.in
ltmain.sh