Project

General

Profile

« Previous | Next » 

Revision 3889ce2d

Added by ko1 (Koichi Sasada) almost 12 years ago

  • string.c (rb_str_free): use FL_TEST(str, STR_SHARED) directly
    because str is not embed.
  • string.c (str_replace): remove `FL_SET(str, STR_SHARED)' line
    because STR_SET_SHARED() set STR_SHARED.

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