]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Save and restore errno from within signal handlers.
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 27 Jun 2011 16:30:50 +0000 (16:30 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 27 Jun 2011 16:30:50 +0000 (16:30 +0000)
commit72d041e1b93813cdf3fad31a26b74eaff1433bc6
treed2711a7ede55ecbc4f0e60cd372749a0d2f9e20c
parent1eb5fcc5a53323dbe1bbedeb56d26156455e4b43
Save and restore errno from within signal handlers.

This is recommended by the POSIX standard, as well as by the sigaction(2) manpage
for various platforms that we support (e.g. Mac OS X).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@324955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/asterisk.c