src/winsup/cygwin ChangeLog syslog.cc include/ ...

corinna@cygwin.com corinna@cygwin.com
Thu Apr 7 20:16:00 GMT 2005


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2005-04-07 20:16:46

Modified files:
	winsup/cygwin  : ChangeLog syslog.cc 
	winsup/cygwin/include/sys: syslog.h 

Log message:
	* syslog.cc: Include sys/socket.h.
	(try_connect_guard): New static variable.
	(syslogd_inited): Ditto.
	(syslogd_sock): Ditto.
	(try_connect_syslogd): New function to connect and write syslog to
	local syslogd.
	(vsyslog): Log to stderr if LOG_PERROR flag has been given to openlog.
	Try logging to syslogd.  Use Event Log resp. log file as fallback.
	(closelog): Close socket to syslogd.
	* include/sys/syslog.h (_PATH_LOG): Define.
	(INTERNAL_NOPRI): Define if SYSLOG_NAMES is defined.
	(INTERNAL_MARK): Ditto.
	(struct _code): Ditto.
	(prioritynames): Ditto.
	(facilitynames): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2827&r2=1.2828
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syslog.cc.diff?cvsroot=src&r1=1.31&r2=1.32
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/syslog.h.diff?cvsroot=src&r1=1.4&r2=1.5



More information about the Cygwin-cvs mailing list