This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog syslog.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 2 Jan 2006 13:05:57 -0000
- Subject: src/winsup/cygwin ChangeLog syslog.cc
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