Actions
Bug #4789
closedrb_str_bytesize() should use LONG2NUM()
Description
RSTRING_LEN() is a long, so LONG2NUM() should be used, not INT2NUM().
Files
Updated by kosaki (Motohiro KOSAKI) almost 13 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
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.
- string.c (rb_str_bytesize): rb_str_bytesize() should use LONG2NUM().
Patch by Nikolai Weibull. [Bug #4789] [ruby-core:36511]
Updated by kosaki (Motohiro KOSAKI) almost 13 years ago
Indeed. I've commited this.
Thank you!
Actions
Like0
Like0Like0