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

ruby-changes:15516

From: usa <ko1@a...>
Date: Tue, 20 Apr 2010 21:35:14 +0900 (JST)
Subject: [ruby-changes:15516] Ruby:r27418 (trunk): * ext/dl/win32/lib/win32/registry.rb (PredefinedKey#create): root key

usa	2010-04-20 21:34:57 +0900 (Tue, 20 Apr 2010)

  New Revision: 27418

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

  Log:
    * ext/dl/win32/lib/win32/registry.rb (PredefinedKey#create): root key
      name should be a string.  fixed [ruby-core:28192]

  Modified files:
    trunk/ChangeLog
    trunk/ext/dl/win32/lib/win32/registry.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27417)
+++ ChangeLog	(revision 27418)
@@ -1,3 +1,8 @@
+Tue Apr 20 21:33:06 2010  NAKAMURA Usaku  <usa@r...>
+
+	* ext/dl/win32/lib/win32/registry.rb (PredefinedKey#create): root key
+	  name should be a string.  fixed [ruby-core:28192]
+
 Tue Apr 20 19:25:50 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* parse.y (parser_yylex): fix for tLPAREN_ARG.
Index: ext/dl/win32/lib/win32/registry.rb
===================================================================
--- ext/dl/win32/lib/win32/registry.rb	(revision 27417)
+++ ext/dl/win32/lib/win32/registry.rb	(revision 27418)
@@ -198,7 +198,7 @@
 
       # Make all
       Constants.constants.grep(/^HKEY_/) do |c|
-        Registry.const_set c, new(Constants.const_get(c), c)
+        Registry.const_set c, new(Constants.const_get(c), c.to_s)
       end
     end
 

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

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