Project

General

Profile

Bug #1510 ยป partition.patch

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

View differences:

string.c (working copy)
6876 6876
	    rb_raise(rb_eTypeError, "type mismatch: %s given",
6877 6877
		     rb_obj_classname(sep));
6878 6878
	}
6879
	sep = tmp;
6879 6880
	pos = rb_str_index(str, sep, 0);
6880 6881
    }
6881 6882
    if (pos < 0) {