Jilles Tjoelker 9922c6d2d5 Fix various things about SIGINT handling:
* exception handlers are now run with interrupts disabled, which avoids
  many race conditions
* fix some cases where SIGINT only aborts one command and continues the
  script, in particular if a SIGINT causes an EINTR error which trumped the
  interrupt.

Example:
  sh -c 'echo < /some/fifo; echo This should not be printed'
The fifo should not have writers. When pressing ctrl+c to abort the open,
the shell used to continue with the next command.

Example:
  sh -c '/bin/echo < /some/fifo; echo This should not be printed'
Similar. Note, however, that this particular case did not and does not work
in interactive mode with job control enabled.
2009-11-22 18:23:30 +00:00
..
2005-08-13 15:04:30 +00:00
2009-10-24 21:20:04 +00:00
2009-11-21 14:28:32 +00:00
2005-08-13 08:26:58 +00:00
2009-11-21 14:28:32 +00:00
2009-11-21 14:28:32 +00:00
2009-11-21 14:28:32 +00:00
2009-10-24 21:20:04 +00:00
2006-04-16 11:54:01 +00:00