Project

General

Profile

Bug #850

system(3C) and similar could just use /bin/sh

Added by Rich Lowe over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
lib - userland libraries
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

Related to illumos gate - Bug #845: xpg4/bin/sh should move back to SUNWcsRejected2011-03-20

Actions

History

#1

Updated by Rich Lowe over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Resolved in r13334 commit:90920e3f9201

Also available in: Atom PDF