Source-Changes archive

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

CVS commit: src/bin/sh



Module Name:    src
Committed By:   christos
Date:           Sat Aug 22 09:55:23 UTC 2015

Modified Files:
        src/bin/sh: jobs.c trap.c trap.h

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/bin/sh/jobs.c
cvs rdiff -u -r1.35 -r1.36 src/bin/sh/trap.c
cvs rdiff -u -r1.20 -r1.21 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