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

ruby-changes:46314

From: shyouhei <ko1@a...>
Date: Fri, 21 Apr 2017 13:42:14 +0900 (JST)
Subject: [ruby-changes:46314] shyouhei:r58428 (trunk): typo fix (sorry!)

shyouhei	2017-04-21 13:42:09 +0900 (Fri, 21 Apr 2017)

  New Revision: 58428

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

  Log:
    typo fix (sorry!)

  Modified files:
    trunk/hash.c
Index: hash.c
===================================================================
--- hash.c	(revision 58427)
+++ hash.c	(revision 58428)
@@ -638,7 +638,7 @@ static inline int https://github.com/ruby/ruby/blob/trunk/hash.c#L638
 hash_insert_raw(st_table *tbl, VALUE key, VALUE val)
 {
     st_data_t v = (st_data_t)val;
-    st_data_t k = (rb_obj_class(k) == rb_cString) ?
+    st_data_t k = (rb_obj_class(key) == rb_cString) ?
 	(st_data_t)rb_str_new_frozen(key) :
 	(st_data_t)key;
 

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

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