aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-09-13 10:05:56 +0100
committerRon Yorston <rmy@pobox.com>2023-09-13 10:05:56 +0100
commite3d50157ce21f990c33afdcf8dba8080308ce0f0 (patch)
tree1ab24bc6a5ab957c3db4882631caa947c0dfd198 /docs
parent504f373c8d4447a4801a74887f99f0dfa809f53e (diff)
downloadbusybox-w32-e3d50157ce21f990c33afdcf8dba8080308ce0f0.tar.gz
busybox-w32-e3d50157ce21f990c33afdcf8dba8080308ce0f0.tar.bz2
busybox-w32-e3d50157ce21f990c33afdcf8dba8080308ce0f0.zip
ash: fix signal handling
Commit 89aa9d783 (win32: changes to signal handling) caused a regression: 'httpd -f' could no longer be interrupted by Ctrl-C. The specific issue is the use of exit(2) to replace raise(3) in raise_interrupt(). This change was made so the shell would return the expected exit code of 130 rather than the default code of 3 which Windows uses when a signal with SIG_DFL disposition is caught. The problem can be avoided by calling _exit(2) instead. A call to fflush_all() has also been added, as _exit(2) doesn't do that. (GitHub issue #365)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions