diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-03-27 12:15:14 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-03-27 12:15:14 (GMT) |
commit | 56e6f7e3481611e85613edd7d4bb51fb3d795164 (patch) | |
tree | 0a70e88fac3b104e6ff95b5b7b11a41872249aea /generic/tclFCmd.c | |
parent | ceebe9160bd5204d1437f2d235b30a3ea07f8c11 (diff) | |
parent | f21b67e800cc27d792703d210f590e3104030468 (diff) | |
download | tcl-56e6f7e3481611e85613edd7d4bb51fb3d795164.zip tcl-56e6f7e3481611e85613edd7d4bb51fb3d795164.tar.gz tcl-56e6f7e3481611e85613edd7d4bb51fb3d795164.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)
FossilOrigin-Name: cd7415d81d850238c4927b95b33bae8fd3ed6844
Diffstat (limited to 'generic/tclFCmd.c')
-rw-r--r-- | generic/tclFCmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c index e95a136..a868fe3 100644 --- a/generic/tclFCmd.c +++ b/generic/tclFCmd.c @@ -520,7 +520,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)) { |