From 5749feb35f44869643445b244ace1d62a7faf65c Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sat, 8 Feb 2025 12:49:06 +0000 Subject: win32: enhanced support for SIGPIPE 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) --- libbb/u_signal_names.c | 4 ---- 1 file changed, 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 @@ #include "libbb.h" -#if ENABLE_PLATFORM_MINGW32 -# undef SIGPIPE -#endif - #if ENABLE_PLATFORM_POSIX || defined(SIGSTKFLT) || defined(SIGVTALRM) # define SIGLEN 7 #elif defined(SIGWINCH) || (ENABLE_FEATURE_RTMINMAX && \ -- cgit v1.2.3-55-g6feb