1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

win32.h: fix O_SHARE_DELETE

* include/ruby/win32.h (O_SHARE_DELETE): change to fit Fixnum
  limit.  [ruby-core:74285] [Bug #12171]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-03-13 00:43:25 +00:00
parent f0d1787a1f
commit e13db770f4
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Mar 13 09:43:23 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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@ruby-lang.org>
* numeric.c (rb_fix2str): fix edge case, accidentally generated

View file

@ -127,7 +127,7 @@ typedef unsigned int uintptr_t;
#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