freebsd-ports/shells/es/files/patch-signal.c
Ying-Chieh Liao 7c19b9d582 fix obscure signal-handling bugs
add readline support

PR:		43945
Submitted by:	maintainer
2002-10-12 15:36:57 +00:00

11 lines
364 B
C

--- signal.c.orig Sat Apr 12 04:54:37 1997
+++ signal.c Sat Oct 12 23:33:16 2002
@@ -68,7 +68,7 @@
/* catcher -- catch (and defer) a signal from the kernel */
static void catcher(int sig) {
-#if !SYSV_SIGNALS /* only do this for unreliable signals */
+#if SYSV_SIGNALS /* only do this for unreliable signals */
signal(sig, catcher);
#endif
if (hasforked)