Bug #4789 ยป rb_str_bytesize.patch
string.c | ||
---|---|---|
static VALUE
|
||
rb_str_bytesize(VALUE str)
|
||
{
|
||
return INT2NUM(RSTRING_LEN(str));
|
||
return LONG2NUM(RSTRING_LEN(str));
|
||
}
|
||
/*
|
now (Nikolai Weibull), 05/27/2011 11:39 PM
string.c | ||
---|---|---|
static VALUE
|
||
rb_str_bytesize(VALUE str)
|
||
{
|
||
return INT2NUM(RSTRING_LEN(str));
|
||
return LONG2NUM(RSTRING_LEN(str));
|
||
}
|
||
/*
|