diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/syslog.cc | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6c313cd..4409111 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc index bde15b9..1d1ffd0 100644 --- a/winsup/cygwin/syslog.cc +++ b/winsup/cygwin/syslog.cc @@ -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); } } |