ruby-changes:15546
From: usa <ko1@a...>
Date: Fri, 23 Apr 2010 01:49:56 +0900 (JST)
Subject: [ruby-changes:15546] Ruby:r27449 (trunk): * win32/win32.c (rb_w32_wopen): shouldn't use FILE_FLAG_OVERLAPPED with
usa 2010-04-23 01:49:39 +0900 (Fri, 23 Apr 2010) New Revision: 27449 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27449 Log: * win32/win32.c (rb_w32_wopen): shouldn't use FILE_FLAG_OVERLAPPED with normal file. #1807, #2510, #2549 Modified files: trunk/ChangeLog trunk/win32/win32.c Index: ChangeLog =================================================================== --- ChangeLog (revision 27448) +++ ChangeLog (revision 27449) @@ -1,3 +1,8 @@ +Fri Apr 23 01:47:54 2010 NAKAMURA Usaku <usa@r...> + + * win32/win32.c (rb_w32_wopen): shouldn't use FILE_FLAG_OVERLAPPED with + normal file. #1807, #2510, #2549 + Fri Apr 23 01:28:03 2010 NAKAMURA Usaku <usa@r...> * thread_win32.c (ubf_handle): remove unused typedef. Index: win32/win32.c =================================================================== --- win32/win32.c (revision 27448) +++ win32/win32.c (revision 27449) @@ -4684,9 +4684,6 @@ _set_osfhnd(fd, (long)INVALID_HANDLE_VALUE); _set_osflags(fd, 0); - /* open with FILE_FLAG_OVERLAPPED if have CancelIo */ - if (cancel_io) - attr |= FILE_FLAG_OVERLAPPED; h = CreateFileW(file, access, FILE_SHARE_READ | FILE_SHARE_WRITE, &sec, create, attr, NULL); if (h == INVALID_HANDLE_VALUE) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/