Module Name: src Committed By: kre Date: Mon Dec 9 00:14:24 UTC 2019
Modified Files: src/bin/sh: eval.c Log Message: PR bin/54743 Having traps set should not enforce a fork for the next command, whatever that command happens to be, only for commands which would normally fork if they weren't the last command expected to be executed (ie: builtins and functions shouldn't be exexuted in a sub-shell merely because a trap is set). As it was (for example) trap 'whatever' SIGANY; wait $anypid was guaranteed to fail the wait, as the subshell it was executed in could not have any children. XXX pullup -9 To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176 src/bin/sh/eval.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.