Module Name: src Committed By: riz Date: Wed Nov 4 17:58:38 UTC 2015
Modified Files: src/bin/sh [netbsd-7]: jobs.c trap.c trap.h Log Message: Pull up following revision(s) (requested by christos in ticket #964): bin/sh/jobs.c: revision 1.74 bin/sh/jobs.c: revision 1.75 bin/sh/trap.c: revision 1.36 bin/sh/trap.c: revision 1.37 bin/sh/trap.h: revision 1.21 bin/sh/trap.h: revision 1.22 Process pending signals while waiting for a job: $ cat << EOF > hup.sh #!/bin/sh trap 'echo SIGHUP; exit 1' 1 sleep 10000 & wait EOF $ chmod +x ./hup.sh $ ./hup.sh & $ kill -HUP %1 report the signal that wait was interrupted by, which is not always SIGINT anymore. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.73.2.1 src/bin/sh/jobs.c cvs rdiff -u -r1.35 -r1.35.22.1 src/bin/sh/trap.c cvs rdiff -u -r1.20 -r1.20.12.1 src/bin/sh/trap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.