Project

General

Profile

Actions

Bug #4789

closed

rb_str_bytesize() should use LONG2NUM()

Added by now (Nikolai Weibull) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
trunk
Backport:
[ruby-core:36511]

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
Actions

Also available in: Atom PDF

Like0
Like0Like0