Project

General

Profile

Bug #13925 » split_limit_1.patch

tompng (tomoya ishida), 09/20/2017 04:31 PM

View differences:

string.c
else if (lim == 1) {
if (RSTRING_LEN(str) == 0)
return rb_ary_new2(0);
return rb_ary_new3(1, str);
return rb_ary_new3(1, rb_str_dup(str));
}
i = 1;
}
(1-1/2)