Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-6] src/bin/sh



Module Name:    src
Committed By:   bouyer
Date:           Sun Nov 15 17:41:26 UTC 2015

Modified Files:
        src/bin/sh [netbsd-6]: jobs.c trap.c trap.h

Log Message:
Pull up following revision(s) (requested by christos in ticket #1323):
        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.69.4.1 -r1.69.4.2 src/bin/sh/jobs.c
cvs rdiff -u -r1.35 -r1.35.4.1 src/bin/sh/trap.c
cvs rdiff -u -r1.19 -r1.19.4.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.




Home | Main Index | Thread Index | Old Index