Port to hosts whose 'sort' and 'tail' implementations treat operands with leading...
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Jul 2006 21:20:12 +0000 (21:20 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Fri, 7 Jul 2006 21:20:12 +0000 (21:20 +0000)
commitf03a01910822bb92dcbf3cfcaf36328f4b92d1ff
tree2600e20df607b3ea2c833813f4d80fc9fa1e6d7e
parent5548b688093cb61e9be33b1d4f7de7914783840f
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.
* libjava/classpath/ltmain.sh: Don't assume "sort +2" is
equivalent to "sort -k 3", since POSIX 1003.1-2001 no longer
requires this.
This uses the same fix that is already in
libjava/libltdl/ltmain.sh.

From-SVN: r115271
libjava/classpath/ChangeLog
libjava/classpath/ltmain.sh