* syslog.cc (vklog): Never log kernel messages using the vsyslog

interface.
This commit is contained in:
Corinna Vinschen 2006-01-01 16:17:55 +00:00
parent cceba5593d
commit a89b700926
3 changed files with 5817 additions and 5813 deletions

File diff suppressed because it is too large Load Diff

5812
winsup/cygwin/ChangeLog-2005 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
/* syslog.cc
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc.
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006 Red Hat, Inc.
This file is part of Cygwin.
@ -498,8 +499,6 @@ vklog (int priority, const char *message, va_list ap)
dev_kmsg->open (O_WRONLY, 0);
if (dev_kmsg && dev_kmsg->get_handle ())
dev_kmsg->write (buf, strlen (buf) + 1);
else
vsyslog (priority, message, ap);
klog_guard.release ();
}