From e78b452afd1914224b704fe7c3d4866ae583faa4 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 4 Jun 2008 03:28:37 +0300 Subject: [PATCH] libdpkg: Remove sentinel from catch_signals array --- ChangeLog | 4 ++++ lib/subproc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5