Alessandro Vesely writes: > Sam, > I have troubles using lf_accept in my filter. That's > because I to catch a HUP signal by getting out of select > with errno set to EINTR (the so-called SysV signal semantics.) > Since lf_accept returns -1 in that case and trusting errno is > not very reliable, I should either test again descriptor 0 or > call select on my own. Both alternatives involve duplicating > code that is already there. > > I include a zip file containing libfilter.[ch].patch where
Your patch does not make any sense. Instead of returning -1, you're returning 0, and changing it to -1 in a wrapper function. In other words, your patch does absolutely nothing. -- Sam _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users