index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2021-01-15 23:20:59 -0800 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-01-19 12:38:57 +1000 |
commit | 8ed98023b45d1cdea4217f7152dcdc77944a0ea7 (patch) | |
tree | d8fe475d665bfaa90fb6ca2f2c259bf36fc04e9e /src | |
parent | a4931704205718869fdf62d0e20a2a4b27216436 (diff) |
-rw-r--r-- | src/pacman/sighandler.c | 1 |
diff --git a/src/pacman/sighandler.c b/src/pacman/sighandler.c index ff9c6ac4..9794b30b 100644 --- a/src/pacman/sighandler.c +++ b/src/pacman/sighandler.c @@ -106,6 +106,7 @@ static void segv_handler(int signum) /* restore the default handler */ _reset_handler(signum); /* unblock SIGSEGV */ + sigemptyset(&segvset); sigaddset(&segvset, signum); sigprocmask(SIG_UNBLOCK, &segvset, NULL); /* re-raise to trigger a core dump */ |