[INN-COMMITTERS] inn/backends (batcher.c buffchan.c innxbatch.c innxmit.c)
kondou at vix.com
kondou at vix.com
Tue Sep 21 03:33:54 UTC 1999
Date: Monday, September 20, 1999 @ 20:33:54
Author: kondou
Update of /dist1/cvs/isc/inn/inn/backends
from pub3.rc.vix.com:/dist1/isc/kondou/CURRENT/inn/backends
Modified Files:
batcher.c buffchan.c innxbatch.c innxmit.c
----------------------------- Log Message -----------------------------
backends/batcher.c:
backends/buffchan.c:
backends/innxbatch.c:
backends/innxmit.c:
- From: Heath Kehoe <hakehoe at norand.com>
- Created a new libinn function xsignal(), which implements a signal()
function using sigaction(). This is because HP/UX (along with other
SYSV-derived systems) has an "unreliable" signal. You have to re-set
the signal handler when a signal goes off, and a signal may cause
a system call to fail (with EINTR). Using sigaction, you don't have
these problems.
I created a symbol USE_SIGACTION, that when defined, the xsignal
function does a call to sigaction. Otherwise, xsignal simply uses
signal. (The innfeed source already has something like this.)
Currently, USE_SIGACTION only gets defined for HP/UX (in clibrary.h).
Perhaps we could define it through configure, but I don't know
enough about autoconf to set it up right now.
More information about the inn-committers
mailing list