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 v2] change ifunc assembly test to a link test


On Tue, Oct 23, 2012 at 05:50:14PM -0700, Paul Eggert wrote:
> On 10/23/2012 04:51 PM, Joseph S. Myers wrote:
> > I'd think it ought to be OK by now for shell scripts in GNU 
> > software to use at least anything from POSIX.2-1992 (both shell features, 
> > and utility options), and probably the 2001 edition of POSIX (like for C 
> > interfaces)
> 
> I just this week ran into an example of why shell scripts
> can't portably assume even POSIX.2-1992 behavior.  The latest
> gzip's implementation of zgrep, which uses grep -e, doesn't
> work on Solaris 11, where the standard grep still (after all
> these years!) does not support -e.
> 
> Here's the bug report:
> 
> http://lists.gnu.org/archive/html/bug-gzip/2012-10/msg00003.html

If I'm not mistaken, Solaris has broken legacy-compatible utilities in
the default PATH, and you have to set the PATH correctly to get POSIX
conformant utilities -- but you _can_ get them. If this is really the
case, it's just user error to be using the default PATH.

Rich


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