_NSIG is supposed to be highest signal number plus one, not highest

signal number.
This commit is contained in:
Ben Gras 2006-09-27 08:56:37 +00:00
parent d9bfb27282
commit c2bbcfe560

View File

@ -54,7 +54,7 @@ typedef unsigned long sigset_t;
#define SIGTTIN 22 /* background process wants to read */ #define SIGTTIN 22 /* background process wants to read */
#define SIGTTOU 23 /* background process wants to write */ #define SIGTTOU 23 /* background process wants to write */
#define _NSIG 23 /* number of signals used */ #define _NSIG 24 /* highest signal number plus one */
#ifdef _MINIX #ifdef _MINIX
#define SIGIOT SIGABRT /* for people who speak PDP-11 */ #define SIGIOT SIGABRT /* for people who speak PDP-11 */