aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2025-02-08 12:49:06 +0000
committerRon Yorston <rmy@pobox.com>2025-02-08 12:49:06 +0000
commit5749feb35f44869643445b244ace1d62a7faf65c (patch)
treef998a1ffe205510e851acc0bdfe4cecfbe7b9b8a /libbb
parent14ccc45d548c9dfa73594f155e920c83e2882081 (diff)
downloadbusybox-w32-master.tar.gz
busybox-w32-master.tar.bz2
busybox-w32-master.zip
win32: enhanced support for SIGPIPEHEADFRP-5579-g5749feb35master
Commit 68ddd4ec3c (win32: emulate SIGPIPE) allowed broken pipes to be detected so that processes could either return EPIPE or terminate. Later, commit 1b2ee3667 (win32: add fake HUP and QUIT signals) added support for two additional fake signals, thus allowing the 'kill' applet to refer to them by name and the shell to define (though not execute) traps for them. Add PIPE to the list of signals known to 'kill' and the shell, though still without support for calling the trap function. (GitHub issue #482)
Diffstat (limited to 'libbb')
-rw-r--r--libbb/u_signal_names.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libbb/u_signal_names.c b/libbb/u_signal_names.c
index ef2b6f891..e233849c5 100644
--- a/libbb/u_signal_names.c
+++ b/libbb/u_signal_names.c
@@ -27,10 +27,6 @@
27 27
28#include "libbb.h" 28#include "libbb.h"
29 29
30#if ENABLE_PLATFORM_MINGW32
31# undef SIGPIPE
32#endif
33
34#if ENABLE_PLATFORM_POSIX || defined(SIGSTKFLT) || defined(SIGVTALRM) 30#if ENABLE_PLATFORM_POSIX || defined(SIGSTKFLT) || defined(SIGVTALRM)
35# define SIGLEN 7 31# define SIGLEN 7
36#elif defined(SIGWINCH) || (ENABLE_FEATURE_RTMINMAX && \ 32#elif defined(SIGWINCH) || (ENABLE_FEATURE_RTMINMAX && \