Project

General

Profile

Bug #3548 ยป string.c.patch

bwbuchanan (Brian Buchanan), 07/08/2010 02:22 AM

View differences:

string.c
switch (ret) {
case econv_destination_buffer_full:
/* destination buffer short */
len *= 2;
len = len < 2 ? 2 : len * 2;
rb_str_resize(newstr, len);
goto retry;
    (1-1/1)