From: Jim Meyering Date: Mon, 29 Apr 2002 06:59:24 +0000 (+0000) Subject: (SIGNUM_BOUND): Do not use WTERMSIG, to avoid X-Git-Tag: cvs-readonly~5342 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=66c733ad3f810cd0cb4e72f0484155fe48513d09;p=gnulib.git (SIGNUM_BOUND): Do not use WTERMSIG, to avoid depending on and WTERMSIG. Default to 64 instead of 127, since 64 is the largest conceivable number for ancient nonstandard hosts. --- 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