diff options
author | Daniel Burrows <dburrows@debian.org> | 2005-11-04 21:59:03 +0000 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2005-11-04 21:59:03 +0000 |
commit | 24fbd1220dee2cd835344730fc6fff4423839978 (patch) | |
tree | c1ebef7e969ea12d52033497d3f54ac1bab9ec51 /src/pkg_ver_item.cc | |
parent | 03670c1638d01cb65d7b543a7b10ad6f5eb42266 (diff) | |
download | aptitude-24fbd1220dee2cd835344730fc6fff4423839978.tar.gz |
[aptitude @ Deal with the fact that the members of sigaction vary between platforms. (Closes: #337536)]
Diffstat (limited to 'src/pkg_ver_item.cc')
-rw-r--r-- | src/pkg_ver_item.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pkg_ver_item.cc b/src/pkg_ver_item.cc index b2b2c20a..49650795 100644 --- a/src/pkg_ver_item.cc +++ b/src/pkg_ver_item.cc @@ -736,11 +736,10 @@ bool pkg_ver_item::dispatch_key(const key &k, vs_tree *owner) struct sigaction oldact; struct sigaction act; + + memset(&act,0,sizeof(act)); act.sa_handler = SIG_DFL; - act.sa_sigaction = 0; sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_restorer = 0; sigaction(SIGCONT, &act, &oldact); |