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.
This commit is contained in:
parent
3bf6fa5503
commit
1bd5f7392d
@ -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] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user