put back NSIG=64 for userland. It is not nice to have programs report
unknown signal %u or coredump when they try to report a signal out of range.
This commit is contained in:
parent
761aafb737
commit
748ed9bd8f
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: signal.h,v 1.45 2002/03/20 14:10:20 tron Exp $ */
|
/* $NetBSD: signal.h,v 1.46 2002/03/20 14:30:11 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1982, 1986, 1989, 1991, 1993
|
* Copyright (c) 1982, 1986, 1989, 1991, 1993
|
||||||
|
@ -45,11 +45,7 @@
|
||||||
|
|
||||||
#include <sys/featuretest.h>
|
#include <sys/featuretest.h>
|
||||||
|
|
||||||
#ifdef _KERNEL
|
|
||||||
#define _NSIG 64
|
#define _NSIG 64
|
||||||
#else
|
|
||||||
#define _NSIG 33
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
|
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
|
||||||
!defined(_XOPEN_SOURCE)
|
!defined(_XOPEN_SOURCE)
|
||||||
|
|
Loading…
Reference in New Issue