General

Profile

YO4 (Yoshinao Muramatsu)

  • Login: YO4
  • Registered on: 02/17/2021
  • Last sign in: 09/10/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 17 11 28

Activity

11/09/2026

12:03 AM Ruby Revision d3fc5e73 (git): avoiding max_extra overflow in io_unread()
On Windows, when the file position exceeds LONG_MAX (31 bits), io_unread() fails to calculate max_extra.
Limit max_extra based on the assumption that the maximum value for newlines is rbuf.len.
[Bug#21663]
YO4 (Yoshinao Muramatsu)
12:03 AM Ruby Revision d3fad326 (git): Fixed io_unread behavior in exceptional situations.
As noted in the comment, the trailing ‘\r’ is not included in rbuf.len, so limiting it with extra_max is not appropriate. YO4 (Yoshinao Muramatsu)

10/09/2026

11:07 PM Ruby Revision 1328590e (git): [Bug #22284] Fix curry with a non-Fixnum arity on LLP64
FIX2INT does not call to_int where int and long have the same size, so `method(:puts).curry(1r)` waited for a garbage number of arguments on Windows. Convert the arity once and keep the result as a Fixnum, which also limits the to_int ca... YO4 (Yoshinao Muramatsu)

09/27/2026

10:12 PM Ruby Bug #22284 (Closed): Passing an object with to_int to curry as its arity causes problems with LLP64.
Applied in changeset commit:git|ec3b6b12e7fdd9eb833ba867eb862956a85f424b.
----------
[Bug #22284] Fix curry with a non-Fixnum arity on LLP64
FIX2INT does not call to_int where int and long have the same size, so `method(:puts).curry(1r...
YO4 (Yoshinao Muramatsu)
10:00 PM Ruby Revision ec3b6b12 (git): [Bug #22284] Fix curry with a non-Fixnum arity on LLP64
FIX2INT does not call to_int where int and long have the same size, so `method(:puts).curry(1r)` waited for a garbage number of arguments on Windows. Convert the arity once and keep the result as a Fixnum, which also limits the to_int ca... YO4 (Yoshinao Muramatsu)

09/24/2026

05:04 AM Ruby Revision 50e2da17 (git): remove unnecessary Inline keyword
Oddly, when building with msvc (19.44), the linking fails only while disabling optimization (using the /Od option).
```
linking miniruby.exe
Creating library miniruby.lib and object miniruby.exp
set.obj : error LNK2019: unresolved ext...
YO4 (Yoshinao Muramatsu)
03:33 AM Ruby Revision 98e99961 (git): mswin: avoid using a bitfield basen on enum type
Using the option (one of -std:[c11|c17|clatest]) to enable standard C support in msvc causes the following error:
[BUG] vm_call_method: unsupported method type (-7)
Simply disable it.
YO4 (Yoshinao Muramatsu)
03:33 AM Ruby Revision 73481d73 (git): mswin: enable flexible array support for msvc
msvc supports flexible array as it's language extensions.
The /Za msvc compiler option disables this and other extensions, but it is not necessary to consider it.
The Windows SDK headers contain anonymous unions/structs, and using /Za ma...
YO4 (Yoshinao Muramatsu)
03:33 AM Ruby Revision b96ef541 (git): Use of explicit parentheses
Apply suggestion from @nobu
Co-authored-by: Nobuyoshi Nakada <nobu.nakada@gmail.com>
YO4 (Yoshinao Muramatsu)

09/08/2026

05:44 PM Ruby Bug #20526: File.open(encoding: "bom|utf-8") converts "\r\n" to "\n" on Windows
[GH-18676](https://github.com/ruby/ruby/pull/18676) fixes the first.
Fixing the second requires addressing #21691.
YO4 (Yoshinao Muramatsu)

Also available in: Atom