gccbug.in bug: Solaris sh doesn't support "set -C"

Phil Edwards pedwards@disaster.jaj.com
Tue Apr 3 13:13:00 GMT 2001


On Tue, Apr 03, 2001 at 10:22:52AM -0700, Dan Nicolaescu wrote:
> 
> The /bin/sh shell in Solaris2.7 does not support "set -C" that is used
> in gccbug.in, it gives an error and exits the script.
> 
> The /usr/xpg4/bin/sh shell supports it though...

    http://gcc.gnu.org/ml/gcc-bugs/2000-11/msg00306.html

Maybe we need that little fragment of shell script which searches the PATH
for a Bourne shell that doesn't suck, and if found, re-execs the script
using the new shell.

Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.



More information about the Gcc-bugs mailing list