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:
Pierre Humblet 2003-02-23 19:12:55 +00:00
parent cc379158bb
commit 1ffc44aaf7
2 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

@ -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);
}
}