General

Profile

hsbt (Hiroshi SHIBATA)

  • Login: hsbt
  • Email: hsbt@ruby-lang.org
  • Registered on: 04/26/2009
  • Last sign in: 10/06/2026

Issues

open closed Total
Assigned issues 65 433 498
Reported issues 19 240 259

Projects

Project Roles Registered on
Ruby Committer, Contributor, Release Manager, Security team, Infrastructure team 01/25/2013

Activity

Today

07:02 AM Ruby Feature #22400 (Closed): Use rb_long_t for lengths so that String and Array can exceed 2GiB on mswin
Applied in changeset commit:git|672cb48d09c4e0df8e2fd9868628fb825d849f58.
----------
[Feature #22400] Mention rb_len_t in NEWS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hsbt (Hiroshi SHIBATA)
07:02 AM Ruby Revision 672cb48d (git): [Feature #22400] Mention rb_len_t in NEWS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> hsbt (Hiroshi SHIBATA)
05:00 AM Ruby Revision adf30005 (git): Use rb_len_t for the lengths left in long
These hold String and Array lengths or offsets into them, so they would truncate on mswin once rb_len_t widens. A build with rb_len_t set to long long reported them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hsbt (Hiroshi SHIBATA)
05:00 AM Ruby Revision a351359b (git): Pick Array#shuffle and #sample indices beyond unsigned long
rb_random_ulong_limited takes an unsigned long, which stays 32 bits on mswin, so once rb_len_t widens an Array of 2**32 elements or more would never yield its tail. A larger limit goes through rand with an Integer, as rb_random_ulong_lim... hsbt (Hiroshi SHIBATA)
05:00 AM Ruby Revision 70e53da3 (git): Reject a string too long for BSD_vfprintf in rb_sprintf
BSD_vfprintf takes the length of a PRIsVALUE field as a long, which is narrower than a String length on mswin once rb_len_t widens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hsbt (Hiroshi SHIBATA)
05:00 AM Ruby Revision 80067ba1 (git): Use ULEN2NUM for StringIO#size
ULONG2NUM would cut the length to 32 bits on mswin once rb_len_t widens. The fallback keeps older Ruby building.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hsbt (Hiroshi SHIBATA)
05:00 AM Ruby Revision 66b3c8f3 (git): Reject a string too long for rb_parser_string_t
rb_parser_string_t holds its length as a long, which is narrower than a String length on mswin once rb_len_t widens, so a line or literal of 2GiB or more would be truncated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hsbt (Hiroshi SHIBATA)
05:00 AM Ruby Revision d4a9221e (git): Check the width of rb_len_t values against SIZEOF_RB_LEN_T
These range checks guard values that are now rb_len_t but still compared SIZEOF_LONG, so they would be compiled out once rb_len_t gets wider than long on LLP64. They compile the same while rb_len_t is long. ibf_dump_write takes the size ... hsbt (Hiroshi SHIBATA)
05:00 AM Ruby Revision c1191af5 (git): Raise IndexError for an out-of-range Struct index past Fixnum
rb_struct_pos hands an out-of-range numeric index back through LEN2NUM, which makes a Bignum past the Fixnum range, and invalid_struct_pos then treated it as a member name and raised NameError.
Co-Authored-By: Claude Opus 5.5 <noreply@a...
hsbt (Hiroshi SHIBATA)
05:00 AM Ruby Revision c4d16f7a (git): Accept SIZEOF_RB_LEN_T defined by the build
mkmf's check_sizeof('rb_len_t') defines SIZEOF_RB_LEN_T as a number, which redefined the macro with different tokens and warned, failing builds that treat warnings as errors. A static assert checks a given value against the type.
Co-Aut...
hsbt (Hiroshi SHIBATA)

Also available in: Atom