[前][次][番号順一覧][スレッド一覧]

ruby-changes:33354

From: nobu <ko1@a...>
Date: Wed, 26 Mar 2014 15:36:57 +0900 (JST)
Subject: [ruby-changes:33354] nobu:r45433 (trunk): * parse.y (rb_str_dynamic_intern): fix commit miss.

nobu	2014-03-26 15:36:50 +0900 (Wed, 26 Mar 2014)

  New Revision: 45433

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

  Log:
    * parse.y (rb_str_dynamic_intern): fix commit miss.

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 45432)
+++ parse.y	(revision 45433)
@@ -10683,7 +10683,7 @@ rb_str_dynamic_intern(VALUE str) https://github.com/ruby/ruby/blob/trunk/parse.y#L10683
     if (enc != ascii) {
 	if (sym_check_asciionly(str)) {
 	    str = rb_str_dup(str);
-	    rb_enc_associate(dup, ascii);
+	    rb_enc_associate(str, ascii);
 	    OBJ_FREEZE(str);
 	}
     }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]