From 07b51ba59a50eadbda72fad0b2e55a4f0e26a291 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 31 Jan 1998 02:43:20 +0000 Subject: Update. 1998-01-31 11:18 Ulrich Drepper * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly. [PR libc/410] * misc/Makefile (tests): Add tst-efgcvt. * misc/tst-efgcvt.c: New file. * manual/arith.texi (Parsing of Integers): Correct description of strtoul. Pointed out by Scott Snyder . [PR libc/396] * misc/lsearch.c (lsearch): Return a pointer to the new element if one was "allocated". * string/strsignal.c: NSIG is not a valid index into _sys_siglist. Don't zap the last character of the "Unknown signal" message. --- signal/signal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'signal') diff --git a/signal/signal.h b/signal/signal.h index 015f0f0b93..864a49b6e1 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -268,8 +268,8 @@ extern int sigqueue __P ((__pid_t __pid, int __sig, /* Names of the signals. This variable exists only for compatibility. Use `strsignal' instead (see ). */ -extern __const char *__const _sys_siglist[_NSIG + 1]; -extern __const char *__const sys_siglist[_NSIG + 1]; +extern __const char *__const _sys_siglist[_NSIG]; +extern __const char *__const sys_siglist[_NSIG]; /* Structure passed to `sigvec'. */ struct sigvec -- cgit 1.4.1