This is the mail archive of the
mailing list for the GCC project.
Re: patch: contrib/compare_tests
- From: Mike Stump <mrs at apple dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: Paul Eggert <eggert at CS dot UCLA dot EDU>, "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 9 Jun 2006 16:37:22 -0700
- Subject: Re: patch: contrib/compare_tests
- References: <20060503054051.GA14396@panix.com> <email@example.com> <4A073DAA-A052-4795-A94C-DCDFEB93DB92@apple.com>
On May 24, 2006, at 10:46 AM, Mike Stump wrote:
On May 3, 2006, at 2:47 PM, Paul Eggert wrote:
That's what GCC already does in lots of places, so let's do that.
2006-05-03 Paul Eggert <firstname.lastname@example.org>
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.
* 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.
* 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/classpath/ltmain.sh: Likewise.
* contrib/compare_tests: Likewise.