From: Guillem Jover Date: Wed, 4 Jun 2008 00:28:37 +0000 (+0300) Subject: libdpkg: Remove sentinel from catch_signals array X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e78b452afd1914224b704fe7c3d4866ae583faa4;p=dpkg libdpkg: Remove sentinel from catch_signals array --- diff --git a/ChangeLog b/ChangeLog index 47e83f2e..238787be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-06-04 Guillem Jover + + * lib/subproc.c (catch_signals): Remove array sentinel. + 2008-06-01 Guillem Jover * lib/varbuf.c (varbufdupc): Use memset instead of ad-hoc operation. diff --git a/lib/subproc.c b/lib/subproc.c index 944bbd75..977f3f6b 100644 --- a/lib/subproc.c +++ b/lib/subproc.c @@ -29,7 +29,7 @@ #include #include -static int catch_signals[] = { SIGQUIT, SIGINT, 0 }; +static int catch_signals[] = { SIGQUIT, SIGINT }; static struct sigaction uncatch_signals[sizeof_array(catch_signals)]; void