Project

General

Profile

Bug #1510 ยป partition.patch

marcandre (Marc-Andre Lafortune), 05/25/2009 07:36 AM

View differences:

string.c (working copy)
rb_raise(rb_eTypeError, "type mismatch: %s given",
rb_obj_classname(sep));
}
sep = tmp;
pos = rb_str_index(str, sep, 0);
}
if (pos < 0) {
    (1-1/1)