From: Andre Noll Date: Sat, 9 Feb 2013 18:29:14 +0000 (+0100) Subject: signal: Restore errno on exit from signal handler. X-Git-Tag: v0.4.13~56 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=76f9e57d909a53d30a4f8fe5e924683fa9b7c0d5;hp=76f9e57d909a53d30a4f8fe5e924683fa9b7c0d5;p=paraslash.git signal: Restore errno on exit from signal handler. 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. ---