[ruby-cvs:51973] ko1:r44828 (trunk): * string.c (rb_str_free): use FL_TEST(str, STR_SHARED) directly

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Feb 5 13:31:18 JST 2014


ko1	2014-02-05 13:31:18 +0900 (Wed, 05 Feb 2014)

  New Revision: 44828

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44828

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list