commit d8c86b86c069c39cfc67a9c7eee1cbb7531dc122
parent 9e7205844ec6db007490ecca820e952300ee862e
Author: tgoodwin <tgoodwin>
Date: Wed, 8 Jul 1998 16:56:42 +0000
SIGINT and SIGPIPE should be silent
,
Diffstat:
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/mksignal.c b/mksignal.c
@@ -56,9 +56,12 @@ static signaming signamings[] = {
#ifdef SIGILL
{ SIGILL, "sigill", "illegal instruction"},
#endif
+
+/* We don't want a default message for SIGINT. */
#ifdef SIGINT
- { SIGINT, "sigint", "interrupt"},
+ { SIGINT, "sigint", ""},
#endif
+
#ifdef SIGIO
{ SIGIO, "sigio", "socket i/o possible"},
#endif
@@ -74,9 +77,12 @@ static signaming signamings[] = {
#ifdef SIGLWP
{ SIGLWP, "siglwp", "thread library signal"},
#endif
+
+/* By default, SIGPIPEs are silent. */
#ifdef SIGPIPE
- { SIGPIPE, "sigpipe", "broken pipe"},
+ { SIGPIPE, "sigpipe", ""},
#endif
+
#ifdef SIGPOLL
{ SIGPOLL, "sigpoll", "pollable event occurred"},
#endif