summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-19 15:19:52 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-19 15:19:52 +0000
commite83f4151398feb42c59971103505206ee37c0dbf (patch)
tree05d2b73317a29de9f275b7fde278d24c0b66ed61 /file.c
parent4ae8470a48e9491ccccb6f989f0481aa8e8c8e78 (diff)
* file.c (eaccess): under windows, make eaccess() just call
access(). [ruby-core:716], [ruby-bugs:PR#556] * ChangeLog: fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 20fd26afdd..257a086aad 100644
--- a/file.c
+++ b/file.c
@@ -463,7 +463,7 @@ eaccess(path, mode)
const char *path;
int mode;
{
-#ifdef S_IXGRP
+#if defined(S_IXGRP) && !defined(_WIN32)
struct stat st;
int euid;