jilles 760264169e 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
..
2009-10-15 18:17:29 +00:00
2009-06-23 23:30:56 +00:00
2009-10-17 15:53:15 +00:00
2009-01-30 16:23:57 +00:00
2009-06-23 23:30:56 +00:00
2006-12-18 15:45:01 +00:00
2007-03-04 19:52:07 +00:00
2009-11-02 12:35:38 +00:00
2009-06-23 23:30:56 +00:00
2007-03-04 09:15:12 +00:00
2006-12-27 11:28:00 +00:00
2009-09-04 21:49:37 +00:00
2009-11-17 07:29:35 +00:00
2006-12-27 12:14:56 +00:00
2009-09-07 16:19:32 +00:00
2005-08-07 09:11:38 +00:00
2009-10-15 18:17:29 +00:00