This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix `tail' invocation in the Ada testsuite
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 6 Jun 2005 15:17:38 -0400
- Subject: Re: [PATCH] Fix `tail' invocation in the Ada testsuite
- References: <Pine.LNX.4.61L.0506062003360.31325@blysk.ds.pg.gda.pl>
On Jun 6, 2005, at 3:16 PM, Maciej W. Rozycki wrote:
Hello,
The Ada testsuite invokes `tail' with "-1", which is not an option
allowed by the current revision of the POSIX standard and is therefore
expected to fail on systems that comply to it. For example this is the
case with the `tail' implementation included in GNU coreutils 5.2.1 if
built on a glibc 2.3.x system (for older configurations you can force
POSIX compliance by setting the "_POSIX2_VERSION" environment variable
to
"200112").
Again this is not portable either, you want to do something different.
GNU coreutils removed backwards compatibility which really is a bug.
-- Pinski