This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 typo in nptl Makefile


From: Roland McGrath <roland@hack.frob.com>
Date: Mon, 15 Aug 2011 17:04:02 -0700 (PDT)

>> So is ">&" a POSIX shell feature or a bash extension?
> 
> It's a bash extension.
> 
>> Also, I can't find any other test where stderr is redirected to
>> the test case output file.  Only stdout is redirected, and this
>> is why I considered such things likely unintentional.
> 
> Your change is correct.

Thanks Roland.

There's another failure I'm seeing which is likely due to POSIX shell
vs. bash extensions.

The case is localedata/tst-fmon.sh and has to do with the handling of
IFS during 'read'.

tst-fmon.sh expects "one or more" IFS characters to seperate fields.
So "X<TAB><TAB>Y" results in fields "X" and "Y".

'dash' on the other hand only matchs one IFS character for field
seperation so in the example we get fields "X" and "<TAB>"

Any idea if this is a POSIX issue too?  Meanwhile, I've asked the
'dash' maintainer about this and am waiting for his feedback.


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