summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-29 06:59:24 +0000
committerJim Meyering <jim@meyering.net>2002-04-29 06:59:24 +0000
commit94650aa4bac6d9194a1c44ea17a03db69080bc60 (patch)
tree7d47ca5d74eb45a971beda6e3e5f6fe58e72f38c /lib
parent786fcaf4a2d47f50a20cfc4db6345e4c7fceff07 (diff)
downloadcoreutils-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.
Diffstat (limited to 'lib')
-rw-r--r--lib/sig2str.h4
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