summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/syslog.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 8dea2bcbc..28ee6bc4b 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2005-04-07 Corinna Vinschen <corinna@vinschen.de>
+ * syslog.cc (try_connect_guard): Remove useless conditionalized code.
+
+2005-04-07 Corinna Vinschen <corinna@vinschen.de>
+
* syslog.cc: Include sys/socket.h.
(try_connect_guard): New static variable.
(syslogd_inited): Ditto.
diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc
index 2ca97e05d..a363b95dc 100644
--- a/winsup/cygwin/syslog.cc
+++ b/winsup/cygwin/syslog.cc
@@ -234,11 +234,7 @@ out:
if (ret >= 0 || !(_my_tls.locals.process_logopt & LOG_CONS))
ret = syslogd_sock;
}
-#ifdef EXC_GUARD
- InterlockedExchange (&try_connect_guard, 2);
-#else
try_connect_guard.release ();
-#endif
return ret;
}