Use sys_siglist[].

This commit is contained in:
mycroft 1993-08-06 21:55:55 +00:00
parent cd74991687
commit 7aaa2d09b7
2 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@
#define has_sigaction 1 /* Does struct sigaction work? */
/* #define has_sigblock ? */ /* Does sigblock() work? */
/* #define sigmask(s) (1 << ((s)-1)) */ /* Yield mask for signal number. */
#define has_sys_siglist 0 /* Does sys_siglist[] work? */
#define has_sys_siglist 1 /* Does sys_siglist[] work? */
typedef ssize_t fread_type; /* type returned by fread() and fwrite() */
typedef size_t freadarg_type; /* type of their size arguments */
typedef void *malloc_type; /* type returned by malloc() */

View File

@ -30,7 +30,7 @@ Report problems and direct all questions to:
#include "rcsbase.h"
libId(utilId, "$Id: rcsutil.c,v 1.2 1993/08/02 17:47:31 mycroft Exp $")
libId(utilId, "$Id: rcsutil.c,v 1.3 1993/08/06 21:55:56 mycroft Exp $")
#if !has_memcmp
int
@ -260,7 +260,7 @@ catchsig(s)
#if has_sys_siglist && defined(NSIG)
if ((unsigned)s < NSIG) {
# ifndef sys_siglist
extern char const *sys_siglist[];
extern char *sys_siglist[];
# endif
sname = sys_siglist[s];
}