From 2ecb1a58cff506917305b7f5c0fd0d23aa775236 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 7 Apr 2005 20:42:20 +0000 Subject: [PATCH] * syslog.cc (try_connect_guard): Remove useless conditionalized code. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/syslog.cc | 4 ---- 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,3 +1,7 @@ +2005-04-07 Corinna Vinschen + + * syslog.cc (try_connect_guard): Remove useless conditionalized code. + 2005-04-07 Corinna Vinschen * syslog.cc: Include sys/socket.h. 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; }