[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like form
From: |
Thierry Vignaud |
Subject: |
Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms |
Date: |
Thu, 08 Jan 2004 11:00:05 +0000 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> > > Since I am unable to reproduce those failures,
> > > I suspect that some of the implied `-4mdk' changes
> > > introduced the problem.
> >
> > it seems sg break it but i failled to see any hunk that can affect [:
>
> [ and test both use test.c. `[' is built from lbracket.c.
> Did you try reverting this change?
>
> ...
> > diff -rubBd /home/tv/rpm/BUILD/coreutils-5.0.91/src/test.c ../src/test.c
> > --- /home/tv/rpm/BUILD/coreutils-5.0.91/src/test.c 2004-01-07
> > 22:24:02.000000000 +0100
> > +++ ../src/test.c 2003-07-26 14:19:55.000000000 +0200
> > @@ -1091,7 +1091,7 @@
> >
> > argv = margv;
> >
> > - if (margv[0][strlen(margv[0])-1] == '[')
> > + if (LBRACKET)
> > {
> > /* Recognize --help or --version, but only when invoked in the
> > "[" form, and when the last argument is not "]". POSIX
> ...
this is what i'd to do to get it works as before
- [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms, Thierry Vignaud, 2004/01/07
- Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms, Thierry Vignaud, 2004/01/07
- Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms, Jim Meyering, 2004/01/07
- Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms, Olivier Delhomme, 2004/01/07
- Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms, Paul Jarc, 2004/01/07
- Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms, Bob Proulx, 2004/01/08
- Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms, Paul Jarc, 2004/01/07
- Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms, Paul Eggert, 2004/01/08