ruby-changes:14675
From: mame <ko1@a...>
Date: Sun, 31 Jan 2010 22:44:28 +0900 (JST)
Subject: [ruby-changes:14675] Ruby:r26527 (trunk): * fix the previous previous commit.
mame 2010-01-31 22:44:19 +0900 (Sun, 31 Jan 2010) New Revision: 26527 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26527 Log: * fix the previous previous commit. Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 26526) +++ string.c (revision 26527) @@ -1349,7 +1349,8 @@ { VALUE s = *ptr; if (TYPE(s) != T_STRING) { - *ptr = rb_str_to_str(s); + s = rb_str_to_str(s); + *ptr = s; } return s; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/