diff options
Diffstat (limited to 'src/csplit.c')
-rw-r--r-- | src/csplit.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/csplit.c b/src/csplit.c index 382fd6621..a26c80df3 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1402,7 +1402,26 @@ main (int argc, char **argv) { int i; - static int const sig[] = { SIGHUP, SIGINT, SIGQUIT, SIGTERM }; + static int const sig[] = + { + /* The usual suspects. */ + SIGALRM, SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, +#ifdef SIGPOLL + SIGPOLL, +#endif +#ifdef SIGPROF + SIGPROF, +#endif +#ifdef SIGVTALRM + SIGVTALRM, +#endif +#ifdef SIGXCPU + SIGXCPU, +#endif +#ifdef SIGXFSZ + SIGXFSZ, +#endif + }; enum { nsigs = sizeof sig / sizeof sig[0] }; #if SA_NOCLDSTOP |