aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-05-18 04:58:21 +0000
committerChristopher Faylor <me@cgf.cx>2009-05-18 04:58:21 +0000
commit3fdcac0b1c4d7dde049019314501c446816db1cd (patch)
tree2fb5b5ad67e56df1ac67da5751993992ded15345 /winsup
parent0a23799aeed756b774bfb1f398463d2c672c8a3c (diff)
downloadnewlib-3fdcac0b1c4d7dde049019314501c446816db1cd.zip
newlib-3fdcac0b1c4d7dde049019314501c446816db1cd.tar.gz
newlib-3fdcac0b1c4d7dde049019314501c446816db1cd.tar.bz2
* mount.cc (mount_info::got_usr_bin): Mark as NO_COPY.
(mount_info::got_usr_lib): Ditto. (mount_info::root_idx): Ditto.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/mount.cc6
2 files changed, 9 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a951d08..7c1dfc9 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-18 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * mount.cc (mount_info::got_usr_bin): Mark as NO_COPY.
+ (mount_info::got_usr_lib): Ditto.
+ (mount_info::root_idx): Ditto.
+
2009-05-14 Corinna Vinschen <corinna@vinschen.de>
* wchar.h (sys_mbstowcs): Add missing __stdcall attribute.
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index 43177eb..f6e4bac 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -45,9 +45,9 @@ details. */
#define isproc(path) \
(path_prefix_p (proc, (path), proc_len, false))
-bool mount_info::got_usr_bin;
-bool mount_info::got_usr_lib;
-int mount_info::root_idx = -1;
+bool NO_COPY mount_info::got_usr_bin;
+bool NO_COPY mount_info::got_usr_lib;
+int NO_COPY mount_info::root_idx = -1;
/* is_unc_share: Return non-zero if PATH begins with //server/share
or with one of the native prefixes //./ or //?/