projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
786fcaf
)
(SIGNUM_BOUND): Do not use WTERMSIG, to avoid
author
Jim Meyering
<jim@meyering.net>
Mon, 29 Apr 2002 06:59:24 +0000
(06:59 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 29 Apr 2002 06:59:24 +0000
(06:59 +0000)
depending on <sys/wait.h> and WTERMSIG. Default to 64 instead
of 127, since 64 is the largest conceivable number for ancient
nonstandard hosts.
lib/sig2str.h
patch
|
blob
|
history
diff --git
a/lib/sig2str.h
b/lib/sig2str.h
index 3a46a8ce850aac4239deecf0e317281fc61032c7..4fbd21ce254d482156d39564d3ab78d5e836469c 100644
(file)
--- 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