diff options
author | Pierre Humblet <phumblet@phumblet.no-ip.org> | 2003-02-23 19:12:55 +0000 |
---|---|---|
committer | Pierre Humblet <phumblet@phumblet.no-ip.org> | 2003-02-23 19:12:55 +0000 |
commit | 1ffc44aaf744d9c0c343f8bfd6c752a58f9f8575 (patch) | |
tree | f6bfadb3d9fd55caee80937881bcd3401ea769a0 /winsup/cygwin/syslog.cc | |
parent | cc379158bbb56c51fcd8b7ff5c7c33516ea60fe7 (diff) | |
download | cygnal-1ffc44aaf744d9c0c343f8bfd6c752a58f9f8575.tar.gz cygnal-1ffc44aaf744d9c0c343f8bfd6c752a58f9f8575.tar.bz2 cygnal-1ffc44aaf744d9c0c343f8bfd6c752a58f9f8575.zip |
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.
Diffstat (limited to 'winsup/cygwin/syslog.cc')
-rw-r--r-- | winsup/cygwin/syslog.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc index bde15b96f..1d1ffd0e7 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); } } |