summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.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/tclCmdAH.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/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 d8db34e..75ba465 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -993,7 +993,7 @@ Tcl_FileObjCmd(
* we always return 1.
*/
-#if defined(__WIN32__)
+#if defined(__WIN32__) || defined(__CYGWIN__)
value = 1;
#else
value = (geteuid() == buf.st_uid);