mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-27 01:44:21 +00:00
(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.
This commit is contained in:
parent
786fcaf4a2
commit
94650aa4ba
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user