diff options
author | Jim Meyering <jim@meyering.net> | 2002-04-29 06:59:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-04-29 06:59:24 +0000 |
commit | 94650aa4bac6d9194a1c44ea17a03db69080bc60 (patch) | |
tree | 7d47ca5d74eb45a971beda6e3e5f6fe58e72f38c | |
parent | 786fcaf4a2d47f50a20cfc4db6345e4c7fceff07 (diff) | |
download | coreutils-94650aa4bac6d9194a1c44ea17a03db69080bc60.tar.xz |
(SIGNUM_BOUND): Do not use WTERMSIG, to avoid
depending on <sys/wait.h> and WTERMSIG. Default to 64 instead
of 127, since 64 is the largest conceivable number for ancient
nonstandard hosts.
-rw-r--r-- | lib/sig2str.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sig2str.h b/lib/sig2str.h index 3a46a8ce8..4fbd21ce2 100644 --- a/lib/sig2str.h +++ b/lib/sig2str.h @@ -42,8 +42,6 @@ int str2sig (char const *, int *); # define SIGNUM_BOUND (_sys_nsig - 1) #elif defined NSIG # define SIGNUM_BOUND (NSIG - 1) -#elif defined WTERMSIG -# define SIGNUM_BOUND WTERMSIG (~ 0) #else -# define SIGNUM_BOUND 127 +# define SIGNUM_BOUND 64 #endif |