diff options
author | jbj <devnull@localhost> | 2004-10-09 20:22:01 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-09 20:22:01 +0000 |
commit | a36aa761ec0f525c0a206f0a46d404a3ccab5887 (patch) | |
tree | a18dd949545703b4eed2f7d868faa159346fd43c /rpmio/rpmsq.c | |
parent | 24bb3c7ce2dafefb995ecc0fb0f1de3727b4aaee (diff) | |
download | librpm-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.c | 4 |
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: |