Save and restore errno value around sighandler.
The signal is often received during epoll_wait call, and python code later checks the value of libc's errno. That value might get tainted by sighandler, causing errors to be detected after the call (epoll_wait would return -1 as the call was interrupted by the signal). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2063 71dcc9de-d417-0410-9af5-da40c76e7ee4
Showing
Please register or sign in to comment