summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-07-14 02:27:11 +0000
committerChristopher Faylor <me@cgf.cx>2007-07-14 02:27:11 +0000
commitd409af3661a5c0d654a8b5760b3034db9f4c6191 (patch)
tree4886d5b60b59bd29b048cd2dec6d51f6d8821612 /winsup/cygwin
parent08146e5adbceb673cc2c6c4adee05ba37f709095 (diff)
downloadcygnal-d409af3661a5c0d654a8b5760b3034db9f4c6191.tar.gz
cygnal-d409af3661a5c0d654a8b5760b3034db9f4c6191.tar.bz2
cygnal-d409af3661a5c0d654a8b5760b3034db9f4c6191.zip
* init.cc (in_dllentry): Make NO_COPY to avoid spurious false positives.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/init.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 83accc0c8..987075959 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-13 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * init.cc (in_dllentry): Make NO_COPY to avoid spurious false
+ positives.
+
2007-07-09 Christopher Faylor <me+cygwin@cgf.cx>
* debug.cc (close_handle): Change debug output format slightly.
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc
index 6a1575d15..bbbffba08 100644
--- a/winsup/cygwin/init.cc
+++ b/winsup/cygwin/init.cc
@@ -118,7 +118,7 @@ respawn_wow64_process ()
extern void __stdcall dll_crt0_0 ();
HMODULE NO_COPY cygwin_hmodule;
-bool in_dllentry;
+bool NO_COPY in_dllentry;
extern "C" BOOL WINAPI
dll_entry (HANDLE h, DWORD reason, void *static_load)