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)
commit86c8fe870ae2762cbc3ef54b941921ffa382f044 (patch)
tree2ad19454d6ea8534f82665814e9e09a221888db9 /generic/tclCmdAH.c
parent83eb34af484c67ee8c1f6c897a60653f0b63b204 (diff)
parentb38ff7bf98f44f9eaa8dd4715cf3dca8decbe24d (diff)
downloadtcl-86c8fe870ae2762cbc3ef54b941921ffa382f044.zip
tcl-86c8fe870ae2762cbc3ef54b941921ffa382f044.tar.gz
tcl-86c8fe870ae2762cbc3ef54b941921ffa382f044.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);