Actions
Bug #850
closedsystem(3C) and similar could just use /bin/sh
Start date:
2011-03-24
Due date:
% Done:
100%
Estimated time:
Difficulty:
Tags:
Gerrit CR:
Description
system(3C) and possibly similar code contains conditions such that in a posix environment it runs the POSIX shell (/usr/xpg4/bin/sh) and in others, the regular shell /bin/sh (formally the bourne shell).
On Illumos systems, these are now both ksh93, it is very likely that the conditional logic can be removed, avoiding, for eg, #845.
Someone would need to verify that ksh93 is not doing anything fancy in a way that alters its behaviour when invoked as /usr/xpg4/bin/sh.
Related issues
Actions