From b8fbf5d4c4bb5998cadbc6031ada89799b69c291 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 8 Jul 2008 12:37:44 +0000 Subject: [PATCH] * net.cc (ipv6_inited): Make NO_COPY. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/net.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index cf58c1c65..368ffb49e 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2008-07-08 Corinna Vinschen + + * net.cc (ipv6_inited): Make NO_COPY. + 2008-07-02 Corinna Vinschen * path.cc (path_conv::is_binary): Fix test. Add comment. diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 7e9d14c45..ded37aa05 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -3836,7 +3836,7 @@ get_ipv6_funcs (HMODULE lib) } static NO_COPY muto load_ipv6_guard; -static bool ipv6_inited = false; +static NO_COPY bool ipv6_inited = false; #define load_ipv6() if (!ipv6_inited) load_ipv6_funcs (); static void