Project

General

Profile

Bug #4789 ยป rb_str_bytesize.patch

now (Nikolai Weibull), 05/27/2011 11:39 PM

View differences:

string.c
static VALUE
rb_str_bytesize(VALUE str)
{
return INT2NUM(RSTRING_LEN(str));
return LONG2NUM(RSTRING_LEN(str));
}
/*
    (1-1/1)