From a968bd2efb93595c625ca124d3b6f18f525f5814 Mon Sep 17 00:00:00 2001 From: yugui Date: Sat, 5 Dec 2009 09:40:41 +0000 Subject: 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index 9c9da582e..3a023561e 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 } -- cgit