]> err.no Git - dpkg/commitdiff
libdpkg: Remove sentinel from catch_signals array
authorGuillem Jover <guillem@debian.org>
Wed, 4 Jun 2008 00:28:37 +0000 (03:28 +0300)
committerGuillem Jover <guillem@debian.org>
Wed, 4 Jun 2008 00:28:37 +0000 (03:28 +0300)
ChangeLog
lib/subproc.c

index 47e83f2e313ebfb60d40a17e2b37a854ee1e1d82..238787be149103a80397e61c4194ee021adf76ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-04  Guillem Jover  <guillem@debian.org>
+
+       * lib/subproc.c (catch_signals): Remove array sentinel.
+
 2008-06-01  Guillem Jover  <guillem@debian.org>
 
        * lib/varbuf.c (varbufdupc): Use memset instead of ad-hoc operation.
index 944bbd75ada89bedbc84ceea2bb33d2314046a01..977f3f6bf03facc3e041c40892e94595dc9df258 100644 (file)
@@ -29,7 +29,7 @@
 #include <dpkg.h>
 #include <dpkg-priv.h>
 
-static int catch_signals[] = { SIGQUIT, SIGINT, 0 };
+static int catch_signals[] = { SIGQUIT, SIGINT };
 static struct sigaction uncatch_signals[sizeof_array(catch_signals)];
 
 void