Marc Andre Tanner wrote:
>> void
>> sigterm_handler(int sig){
>> + int errsv = errno;
>> running = false;
>> + errno = errsv;
>> }
>
> I don't think a simple variable assignment can change errno, or i am
> missing something?
Right, this is unnecessary. I just added the save and restore for all
sig*_handlers without thinking about this simple case. I don't think I
need to send another patch, just remove those two lines.
Rainer
Received on Fri May 02 2008 - 01:00:34 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:36:45 UTC