Project

General

Profile

Backport #2477

Updated by jeremyevans0 (Jeremy Evans) about 1 month ago

=begin

If r24544 is backported, r24934 is also worth backported.

Author: naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Tue Sep 15 05:27:29 2009 +0000

Use rb_isspace for ASCII-incompatible strings.

* string.c (rb_str_split_m): use rb_isspace when the string
may be ASCII-incompatible.
(rb_str_lstrip_bang): ditto.
(rb_str_rstrip_bang): ditto.

=end

Back