Actions
Bug #4789
closedrb_str_bytesize() should use LONG2NUM()
Bug #4789:
rb_str_bytesize() should use LONG2NUM()
Description
RSTRING_LEN() is a long, so LONG2NUM() should be used, not INT2NUM().
Files
Actions
Added by now (Nikolai Weibull) almost 15 years ago. Updated almost 15 years ago.
Description
RSTRING_LEN() is a long, so LONG2NUM() should be used, not INT2NUM().
Files
| rb_str_bytesize.patch (273 Bytes) rb_str_bytesize.patch | now (Nikolai Weibull), 05/27/2011 11:39 PM |
This issue was solved with changeset r31756.
Nikolai, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
Indeed. I've commited this.
Thank you!