Garrett D'Amore wrote: > William James wrote: [snip] > >> > I don't know. I tried to rename it for testing a while ago and the > >> > machine hung on reboot. Maybe something calls system() and needs that > >> > shell. > >> > >> Rename what to what ? > > > > mv /usr/xpg4/bin/sh /usr/xpg4/bin/sh.bak > > "system()" uses this shell in a POSIX environment.
More important: If you compile an application with XPG4/XPG6 flags it will use this shell by default for all system calls which need a shell (including |system()|, |popen()|, |wordexp()| etc. ... somehow I think it may be nice to add something like a |syslog()| warning if the shell went missing...). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
