]> git.neil.brown.name Git - wiggle.git/commit
vpatch: allow relevant signals to cause a core-dump.
authorNeilBrown <neilb@suse.de>
Tue, 12 Feb 2013 04:00:38 +0000 (15:00 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 12 Feb 2013 04:00:38 +0000 (15:00 +1100)
commit7e6e3397189dd396e0a9c03ed234486da841761e
treed64d3dd1b06f7a2fcb155db924f37b002c58098b
parent03256fbb161f7e9cd29650bb3f5d45f29d4d6ad7
vpatch: allow relevant signals to cause a core-dump.

We catch SIGBUS and SIGSEGV so the terminal can be reset.
But that means we don't see a core dump if there should be one.

So for those signals, clear the signal handler after reseting
the terminal, and return.  Then the core will be dumped.

Reported-by: Paul Wise <pabs3@bonedaddy.net>
vpatch.c