summaryrefslogtreecommitdiffstats
path: root/generic/tclFCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-27 11:39:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-27 11:39:28 (GMT)
commite4e0688230bab9b433d43f26f6a9e36b0a32b083 (patch)
tree2ad19454d6ea8534f82665814e9e09a221888db9 /generic/tclFCmd.c
parentc3d06984b8539b9d384792dd086de60fff9d019f (diff)
parent9dc4d62155a906e3cb7a4d11c2332774d2071d83 (diff)
downloadtcl-e4e0688230bab9b433d43f26f6a9e36b0a32b083.zip
tcl-e4e0688230bab9b433d43f26f6a9e36b0a32b083.tar.gz
tcl-e4e0688230bab9b433d43f26f6a9e36b0a32b083.tar.bz2
[Bug 3508771] Wrong Tcl_StatBuf used on MinGW
[Bug 2015723] duplicate inodes from file stat on windows (but now for cygwin as well)
Diffstat (limited to 'generic/tclFCmd.c')
-rw-r--r--generic/tclFCmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c
index cc4f013..017a1ae 100644
--- a/generic/tclFCmd.c
+++ b/generic/tclFCmd.c
@@ -531,7 +531,7 @@ CopyRenameOneFile(
* 16 bits and we get collisions. See bug #2015723.
*/
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__CYGWIN__)
if ((sourceStatBuf.st_ino != 0) && (targetStatBuf.st_ino != 0)) {
if ((sourceStatBuf.st_ino == targetStatBuf.st_ino) &&
(sourceStatBuf.st_dev == targetStatBuf.st_dev)) {