diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-07-25 11:58:51 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-07-25 11:58:51 +1000 |
commit | 1f285560bc66ab703b8feacd5e110e79eae619de (patch) | |
tree | c3f8b7921fcef240737a9d06714ca758b81305ff /source4/lib/events | |
parent | 404846d8871d3d420e83a3e48625bb051faf893e (diff) | |
parent | 79657f78e87b76be1579c488249bf253093aa620 (diff) | |
download | samba-1f285560bc66ab703b8feacd5e110e79eae619de.tar.gz samba-1f285560bc66ab703b8feacd5e110e79eae619de.tar.bz2 samba-1f285560bc66ab703b8feacd5e110e79eae619de.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit b12dd8ee5443ebfc204d1684f541d68ffb351197)
Diffstat (limited to 'source4/lib/events')
-rw-r--r-- | source4/lib/events/events_signal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/events/events_signal.c b/source4/lib/events/events_signal.c index 80a14acc11..652df53d4b 100644 --- a/source4/lib/events/events_signal.c +++ b/source4/lib/events/events_signal.c @@ -46,15 +46,15 @@ struct sigcounter { the poor design of signals means that this table must be static global */ static struct sig_state { - struct signal_event *sig_handlers[NUM_SIGNALS]; - struct sigaction *oldact[NUM_SIGNALS]; - struct sigcounter signal_count[NUM_SIGNALS]; + struct signal_event *sig_handlers[NUM_SIGNALS+1]; + struct sigaction *oldact[NUM_SIGNALS+1]; + struct sigcounter signal_count[NUM_SIGNALS+1]; struct sigcounter got_signal; int pipe_hack[2]; #ifdef SA_SIGINFO /* with SA_SIGINFO we get quite a lot of info per signal */ - siginfo_t *sig_info[NUM_SIGNALS]; - struct sigcounter sig_blocked[NUM_SIGNALS]; + siginfo_t *sig_info[NUM_SIGNALS+1]; + struct sigcounter sig_blocked[NUM_SIGNALS+1]; #endif } *sig_state; |