Project

General

Profile

« Previous | Next » 

Revision e808b2b1

Added by nobu (Nobuyoshi Nakada) over 12 years ago

string.c: GC guard

  • string.c (rb_str_sub{seq,pos,str}, rb_str_each_{line,codepoint}):
    prevent String copies from GC. [ruby-core:47881] [Bug #7135]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e