]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
signal: Restore errno on exit from signal handler.
authorAndre Noll <maan@systemlinux.org>
Sat, 9 Feb 2013 18:29:14 +0000 (19:29 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 9 Feb 2013 18:29:25 +0000 (19:29 +0100)
This probably is not necessary since generic_signal_handler() calls
exit(3) if the write to the signal pipe fails. However, nobody is
going to stop write(2) from setting errno also on success, so let's
play safe and always restore its value on exit.


No differences found