(why does Safe need to reset ALL signal handlers?)
Because it is the only way to be Safe. Otherwise, the arrival of a signal could cause the signal handler code to be called; and it would be completely outside of Safe's control, and could do anything!
But yes; it should restore what was there when it was called.
In reply to Re^4: trouble with custom signal handlers
by BrowserUk
in thread trouble with custom signal handlers
by casaschi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |