Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework SignalHandler for more compact code
Rather than have special cases all over, I have abstracted the code so it's easier to deal with. The pre-generated strings for the "last gasp" output for SEGV, etc has been changed to include the entire string so it only uses one write() call. Moved SIGHUP handling in the logserver to use the common SignalHandler class code. Added SIGBUS, SIGFPE, SIGILL to our standard supported signals, treating them the same as SIGSEGV.
- Loading branch information
Showing
21 changed files
with
155 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.