2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>
* syslog.cc (syslog): Do not unlock the file before closing it and remove debug_printf about stream errors.
This commit is contained in:
parent
cc379158bb
commit
1ffc44aaf7
@ -1,3 +1,8 @@
|
||||
2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>
|
||||
|
||||
* syslog.cc (syslog): Do not unlock the file before closing it
|
||||
and remove debug_printf about stream errors.
|
||||
|
||||
2003-02-22 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true.
|
||||
|
@ -406,9 +406,6 @@ syslog (int priority, const char *message, ...)
|
||||
fputs (timestamp, fp);
|
||||
fputs (msg_strings[0], fp);
|
||||
fputc ('\n', fp);
|
||||
UnlockFile (fHandle, 0, 0, 1, 0);
|
||||
if (ferror (fp))
|
||||
debug_printf ("error in writing syslog");
|
||||
fclose (fp);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user