Subject: CVS commit: [thorpej-syslogd-hack-branch] src/usr.sbin/syslogd
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 11/18/2004 23:10:29
Module Name:	src
Committed By:	thorpej
Date:		Thu Nov 18 23:10:29 UTC 2004

Modified Files:
	src/usr.sbin/syslogd [thorpej-syslogd-hack-branch]: syslogd.c

Log Message:
Setup kevents for finet[] in socksetup().  We close the finet[] descriptors
in init(), which causes the registered events to disappear, which caused
forwards receiving to stop working after a SIGHUP.

Note: This was also broken for the old code that used poll(2), since the
readfds[] array was never updated to account for new finet[] descriptors.


To generate a diff of this commit:
cvs rdiff -r1.69.2.38 -r1.69.2.39 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.