ruby-changes:42020
From: nobu <ko1@a...>
Date: Sun, 13 Mar 2016 09:43:30 +0900 (JST)
Subject: [ruby-changes:42020] nobu:r54094 (trunk): win32.h: fix O_SHARE_DELETE
nobu 2016-03-13 09:43:25 +0900 (Sun, 13 Mar 2016) New Revision: 54094 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54094 Log: win32.h: fix O_SHARE_DELETE * include/ruby/win32.h (O_SHARE_DELETE): change to fit Fixnum limit. [ruby-core:74285] [Bug #12171] Modified files: trunk/ChangeLog trunk/include/ruby/win32.h Index: ChangeLog =================================================================== --- ChangeLog (revision 54093) +++ ChangeLog (revision 54094) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Mar 13 09:43:23 2016 Nobuyoshi Nakada <nobu@r...> + + * include/ruby/win32.h (O_SHARE_DELETE): change to fit Fixnum + limit. [ruby-core:74285] [Bug #12171] + Sun Mar 13 09:15:45 2016 Nobuyoshi Nakada <nobu@r...> * numeric.c (rb_fix2str): fix edge case, accidentally generated Index: include/ruby/win32.h =================================================================== --- include/ruby/win32.h (revision 54093) +++ include/ruby/win32.h (revision 54094) @@ -127,7 +127,7 @@ typedef unsigned int uintptr_t; https://github.com/ruby/ruby/blob/trunk/include/ruby/win32.h#L127 #define WNOHANG -1 -#define O_SHARE_DELETE 0x80000000 /* for rb_w32_open(), rb_w32_wopen() */ +#define O_SHARE_DELETE 0x20000000 /* for rb_w32_open(), rb_w32_wopen() */ typedef int clockid_t; #define CLOCK_REALTIME 0 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/