Bug #1510 ยป partition.patch
| 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) {
|
||