summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-27 12:15:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-27 12:15:14 (GMT)
commitb2cbef50995e481997431490fdb7bc5b0ac220c7 (patch)
tree0a70e88fac3b104e6ff95b5b7b11a41872249aea /generic/tclCmdAH.c
parent4d9e1c8453091e516efd3919546e5c88e768b53a (diff)
parente4e0688230bab9b433d43f26f6a9e36b0a32b083 (diff)
downloadtcl-b2cbef50995e481997431490fdb7bc5b0ac220c7.zip
tcl-b2cbef50995e481997431490fdb7bc5b0ac220c7.tar.gz
tcl-b2cbef50995e481997431490fdb7bc5b0ac220c7.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/tclCmdAH.c')
-rw-r--r--generic/tclCmdAH.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c
index 2308f33..1cbc4d2 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -1544,7 +1544,7 @@ FileAttrIsOwnedCmd(
* test for equivalence to the current user.
*/
-#ifdef __WIN32__
+#if defined(__WIN32__) || defined(__CYGWIN__)
value = 1;
#else
value = (geteuid() == buf.st_uid);