From 4cb9c36cfd13bce48da48cd6cdc769f489ebe708 Mon Sep 17 00:00:00 2001 From: jmallett Date: Sat, 7 Sep 2002 08:14:19 +0000 Subject: Two arrays were born from the same seeds, both grew into complementary sets of pointers to strings. These two arrays were fixed to the same size, but one had an implicit zeroed trailer element, which was unused because the size was used up by the ones before said zeroed trailer element. So the unused limb was chopped off the over-sized-but-not-over-sized array, and everyone lived happily ever after. --- lib/libc/gen/siglist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libc/gen/siglist.c b/lib/libc/gen/siglist.c index b47e082..d723e3e 100644 --- a/lib/libc/gen/siglist.c +++ b/lib/libc/gen/siglist.c @@ -72,7 +72,7 @@ const char *const sys_signame[NSIG] = { "winch", /* SIGWINCH */ "info", /* SIGINFO */ "usr1", /* SIGUSR1 */ - "usr2", /* SIGUSR2 */ + "usr2" /* SIGUSR2 */ }; const char *const sys_siglist[NSIG] = { -- cgit v1.1