Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-16 Thread Peter O'Gorman
Jim Meyering wrote: > Peter O'Gorman <[EMAIL PROTECTED]> wrote: > >> Eric Blake wrote: >>> According to Jim Meyering on 9/16/2008 3:58 AM: Jim Meyering <[EMAIL PROTECTED]> wrote: > I discovered that Solaris 11's /bin/sh exhibits the following > surprising behavior: > > $ /

Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-16 Thread Jim Meyering
Peter O'Gorman <[EMAIL PROTECTED]> wrote: > Eric Blake wrote: >> According to Jim Meyering on 9/16/2008 3:58 AM: >>> Jim Meyering <[EMAIL PROTECTED]> wrote: I discovered that Solaris 11's /bin/sh exhibits the following surprising behavior: $ /bin/sh -c 'umask 22; (umask 0);

Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-16 Thread Peter O'Gorman
Eric Blake wrote: > According to Jim Meyering on 9/16/2008 3:58 AM: >> Jim Meyering <[EMAIL PROTECTED]> wrote: >>> I discovered that Solaris 11's /bin/sh exhibits the following >>> surprising behavior: >>> >>> $ /bin/sh -c 'umask 22; (umask 0); umask' >>> > > We should also document t

Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 9/16/2008 3:58 AM: > Jim Meyering <[EMAIL PROTECTED]> wrote: >> I discovered that Solaris 11's /bin/sh exhibits the following >> surprising behavior: >> >> $ /bin/sh -c 'umask 22; (umask 0); umask' >> We shoul

Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-16 Thread Jim Meyering
Jim Meyering <[EMAIL PROTECTED]> wrote: > I discovered that Solaris 11's /bin/sh exhibits the following > surprising behavior: > > $ /bin/sh -c 'umask 22; (umask 0); umask' > > > That would cause test failures in coreutils, because gl_POSIX_SHELL > accepted /bin/sh. The following chan

Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-13 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: >> I discovered that Solaris 11's /bin/sh ... > > What is Solaris 11? Do you have any references? Neither Wikipedia [1] nor > the Sun documentation [2] mention such a release. Hi Bruno, Opensolaris calls itself SunOS 5.11.

Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-13 Thread Bruno Haible
Hi Jim, > I discovered that Solaris 11's /bin/sh ... What is Solaris 11? Do you have any references? Neither Wikipedia [1] nor the Sun documentation [2] mention such a release. Bruno [1] http://en.wikipedia.org/wiki/Solaris_(operating_system) [2] http://docs.sun.com/app/docs/prod/solaris

[PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-13 Thread Jim Meyering
Hi Paul, I discovered that Solaris 11's /bin/sh exhibits the following surprising behavior: $ /bin/sh -c 'umask 22; (umask 0); umask' That would cause test failures in coreutils, because gl_POSIX_SHELL accepted /bin/sh. The following change is enough to make gl_POSIX_SHELL reject t