This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix `tail' invocation in the Ada testsuite

On Mon, 6 Jun 2005, Maciej W. Rozycki wrote:

>  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").

Please read (a) the discussion in bug 14251 and the various other past 
discussions of this issue on the lists, (b) 
<> which 
makes clear that "tail -1" is a permitted extension although a change to 
the standard will be needed to add options beginning with "+" as 
extensions where they were traditional usage.  GNU coreutils is broken in 
its default behavior.

Joseph S. Myers      (personal mail) (CodeSourcery mail) (Bugzilla assignments and CCs)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]