summaryrefslogtreecommitdiff
path: root/rpmio/rpmsq.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-10-09 20:22:01 +0000
committerjbj <devnull@localhost>2004-10-09 20:22:01 +0000
commita36aa761ec0f525c0a206f0a46d404a3ccab5887 (patch)
treea18dd949545703b4eed2f7d868faa159346fd43c /rpmio/rpmsq.c
parent24bb3c7ce2dafefb995ecc0fb0f1de3727b4aaee (diff)
downloadlibrpm-tizen-a36aa761ec0f525c0a206f0a46d404a3ccab5887.tar.gz
librpm-tizen-a36aa761ec0f525c0a206f0a46d404a3ccab5887.tar.bz2
librpm-tizen-a36aa761ec0f525c0a206f0a46d404a3ccab5887.zip
More changes from rpm-4_3 branch.
CVS patchset: 7441 CVS date: 2004/10/09 20:22:01
Diffstat (limited to 'rpmio/rpmsq.c')
-rw-r--r--rpmio/rpmsq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmio/rpmsq.c b/rpmio/rpmsq.c
index 4285f1a63..c04783886 100644
--- a/rpmio/rpmsq.c
+++ b/rpmio/rpmsq.c
@@ -287,7 +287,9 @@ void rpmsqAction(int signum,
if (tbl->signum != signum)
continue;
- (void) sigaddset(&rpmsqCaught, signum);
+ /* XXX Ignore any signals that were originally SIG_IGN */
+ if (tbl->oact.sa_handler != SIG_IGN)
+ (void) sigaddset(&rpmsqCaught, signum);
switch (signum) {
case SIGCHLD: