summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-25 07:04:25 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-25 07:04:25 +0000
commitd70e9a5568f9e5c9bb16b521b44bb558b96893b1 (patch)
tree4eda581d47a1554319f661107614e12083c4927c /file.c
parent9d72cb269cfc3765d30e67c36a4eb1e40e7f570d (diff)
* 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/trunk@25092 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 ef7ad0e777..806051d301 100644
--- a/file.c
+++ b/file.c
@@ -964,9 +964,6 @@ eaccess(const char *path, int mode)
return -1;
#else
-# if defined(_MSC_VER) || defined(__MINGW32__)
- mode &= ~1;
-# endif
return access(path, mode);
#endif
}