summaryrefslogtreecommitdiff
path: root/lib/libc/gen/syslog.c
AgeCommit message (Expand)Author
2002-06-20Close log file when leaving syslog_r(). deraadt@ okJean-Jacques Bernard-Gundol
2002-06-05If send() returns ENOBUFS, sleep for one microsecond and retry.Todd C. Miller
2002-05-26pid_t cleanupTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-18Open console with O_NONBLOCK to avoid blocking on a locked console.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-10-31Set default facility is noone is specified at syslog(3) time; millert@ jj@ ok.Federico G. Schwindt
2001-10-24syslog_r() implementation. deraadt@ ok.Jean-Jacques Bernard-Gundol
2001-08-18deal with -1 from snprintf, if it ever happensTheo de Raadt
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
2000-01-02Try to reopen socket if send fails. (perhaps syslogd restarted)Hugh Graham
1998-03-19some -WallTodd C. Miller
1998-03-06And terminate SyslogAddr.sun_path (duh!)brian
1998-03-06sizeof(SyslogAddr.sun_path) -> sizeof(SyslogAddr.sun_path) - 1brian
1998-03-05Initialise sockaddr::sa_len (stopping a pretty nastybrian
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-09Clean up some -Wall complaints.Todd C. Miller
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt