-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Since f207cd5, sh_ntfork() is never called if job.jobcontrol is set (i.e. if job control is active on an interactive shell), so the code that is only run if job.jobcontrol is set should be removed. src/cmd/ksh93/sh/xec.c: - Remove spawnveg() define that is unused as of 7b0e077. - sh_exec(): Simplify SHOPT_SPAWN preprocessor logic. As sh_fork() never returns a negative value, only run the parent<0 check after running sh_ntfork() -- that check already didn't happen when compiling ksh with SHOPT_SPAWN disabled. - sh_ntfork(): Remove signal and terminal handling (with race condition) that was only run with job.jobcontrol set.
- Loading branch information
Showing
1 changed file
with
15 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters