[INN-COMMITTERS] inn/nnrpd (nnrpd.c)

kondou at vix.com kondou at vix.com
Tue Sep 21 03:36:15 UTC 1999


  Date: Monday, September 20, 1999 @ 20:36:15
Author: kondou

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

Modified Files:
	nnrpd.c 

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


nnrpd/nnrpd.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