src/winsup/cygwin ChangeLog syslog.cc

corinna@cygwin.com corinna@cygwin.com
Mon Jan 2 13:05:00 GMT 2006


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2006-01-02 13:05:57

Modified files:
	winsup/cygwin  : ChangeLog syslog.cc 

Log message:
	* syslog.cc: Include sys/un.h instead of sys/socket.h.
	(syslogd_inited): Convert to enum type noting the exact result of
	trying to connect to syslog daemon.  Use this way throughout.
	(connect_syslogd): New static function taking over the task to
	connect to syslog socket.  Use correct struct sockaddr_un instead of
	struct sockaddr.
	(try_connect_syslogd): Call connect_syslogd.  If write fails on
	connection oriented socket, try to reconnect to syslog socket and
	try to write again.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3308&r2=1.3309
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syslog.cc.diff?cvsroot=src&r1=1.41&r2=1.42



More information about the Cygwin-cvs mailing list