[INN-COMMITTERS] inn/include (clibrary.h.in config.h.in libinn.h)

kondou at vix.com kondou at vix.com
Tue Sep 21 03:34:40 UTC 1999


  Date: Monday, September 20, 1999 @ 20:34:40
Author: kondou

Update of /dist1/cvs/isc/inn/inn/include
     from pub3.rc.vix.com:/dist1/isc/kondou/CURRENT/inn/include

Modified Files:
	clibrary.h.in config.h.in libinn.h 

-----------------------------  Log Message  -----------------------------


include/clibrary.h.in:
include/config.h.in:
include/libinn.h:
	- 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