summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-05 09:40:41 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-05 09:40:41 +0000
commit35d07e3fe84bfce6dbd256f70e250d822261dae1 (patch)
tree0289319f36226f230951dd2a0af77c05c2c7db21 /file.c
parent9e557661c24d13051b6ef180028cc173433e6b2e (diff)
merges r25092 from trunk into ruby_1_9_1.
-- * win32/win32.c, include/ruby/win32.h (rb_w32_access): new function to replace MSVCRT's access(). [ruby-core:25761] * file.c (eaccess): workaround for recent MSVCRT is no longer needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/file.c b/file.c
index 9c9da582e8..3a023561ef 100644
--- a/file.c
+++ b/file.c
@@ -945,9 +945,6 @@ eaccess(const char *path, int mode)
return -1;
#else
-# if defined(_MSC_VER) || defined(__MINGW32__)
- mode &= ~1;
-# endif
return access(path, mode);
#endif
}