Module Name: src Committed By: kre Date: Fri Jan 18 06:28:09 UTC 2019
Modified Files: src/bin/sh: trap.c Log Message: Finish (hopefully) the second half of 1.47 ... make sure that when traps are marked as invalid, we never use them for anything except output from the trap command. Fixes issues where sub-shells of shells which use traps (eg: to trap SIGPIPE) can end up looping forever if the signal occurs in a sub-shell (where the trap is supposed to be reset to its default). Reported, and mostly analyzed by Martijn Dekker. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/bin/sh/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.