Insert an entry for signal 0 so that the rest of the signals have their proper name instead of the previous one.
@@ -1,3 +1,8 @@
+2008-09-14 Guillem Jover <guillem@debian.org>
+
+ * libcompat/strsignal.c (sys_siglist): Insert a NULL entry at the
+ beginning.
2008-09-14 Guillem Jover <guillem@debian.org>
* libcompat/strsignal.c (sys_siglist): Remove array size from
@@ -29,6 +29,7 @@
#ifndef HAVE_DECL_SYS_SIGLIST
const char *const sys_siglist[] = {
+ NULL, /* 0 */
"SIGHUP", /* 1 */
"SIGINT", /* 2 */
"SIGQUIT", /* 3 */