This is the mail archive of the gcc-patches@gcc.gnu.org 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, Joseph S. Myers 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) 
> <http://www.opengroup.org/austin/interps/uploads/40/6807/AI-027.txt> 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.

 Has anybody actually bothered filing a bug report against GNU coreutils 
then?  It's not a new issue -- the code has apparently been there for 
quite some time in coreutils, except it wouldn't get activated for glibc 
2.2.x and older and I'm just unfortunate enough to have only recently 
upgraded glibc.

 I can file such a report myself, perhaps even with a patch, but it might 
be more productive if someone with a better background on the matter got 
involved.

  Maciej


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