Re: Bug#548493: test-yesno.sh failure

2009-09-28 Thread Jim Meyering
Kurt Roeckx wrote: > On Sun, Sep 27, 2009 at 11:03:42PM +0200, Jim Meyering wrote: >> Thanks for the details. >> Here's a patch that's more likely to work. >> That this failure is specific to the sparc build >> is a strong indication that it is a bug in dash or the compiler. >> Maybe a sign-extensi

Re: Bug#548493: test-yesno.sh failure

2009-09-28 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> # Test with seekable stdin; the followon process must see remaining data. >> -cat < ${p}in.tmp >> +cat < ${p}in.tmp > > This can be simplified to: > > tr @ '\177' < ${p}in.tmp Of course! Thanks. I've pushed this: >From a9ab119464cf6faa7551ff0b09007

Re: Bug#548493: test-yesno.sh failure

2009-09-27 Thread Kurt Roeckx
On Sun, Sep 27, 2009 at 11:03:42PM +0200, Jim Meyering wrote: > > Thanks for the details. > Here's a patch that's more likely to work. > That this failure is specific to the sparc build > is a strong indication that it is a bug in dash or the compiler. > Maybe a sign-extension bug? I'm seeing thi

Re: Bug#548493: test-yesno.sh failure

2009-09-27 Thread Bruno Haible
Jim Meyering wrote: > # Test with seekable stdin; the followon process must see remaining data. > -cat < ${p}in.tmp > +cat < ${p}in.tmp This can be simplified to: tr @ '\177' < ${p}in.tmp Bruno

Re: Bug#548493: test-yesno.sh failure

2009-09-27 Thread Jim Meyering
Kurt Roeckx wrote: > On Sun, Sep 27, 2009 at 08:51:48AM +0200, Jim Meyering wrote: >> Thanks for the report. >> Does the following change fix it? >> If so, please tell me what version of bash it's using >> so I can add that to the commit log. > > Note that /bin/sh points to dash, not bash. And the