[ruby-cvs:62645] nobu:r55481 (trunk): Fix garbage allocation

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Jun 21 16:38:16 JST 2016


nobu	2016-06-21 16:38:16 +0900 (Tue, 21 Jun 2016)

  New Revision: 55481

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55481

  Log:
    Fix garbage allocation
    
    * string.c (rb_str_casemap): do not put code with side effects
      inside RSTRING_PTR() macro which evaluates the argument multiple
      times.

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list