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

ruby-changes:18687

From: mame <ko1@a...>
Date: Sat, 29 Jan 2011 03:00:13 +0900 (JST)
Subject: [ruby-changes:18687] Ruby:r30711 (trunk): * variable.c (set_const_visibility): fix typo. a patch from Tomoyuki

mame	2011-01-29 02:57:19 +0900 (Sat, 29 Jan 2011)

  New Revision: 30711

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

  Log:
    * variable.c (set_const_visibility): fix typo.  a patch from Tomoyuki
      Chikanaga in [ruby-core:32919].

  Modified files:
    trunk/ChangeLog
    trunk/variable.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30710)
+++ ChangeLog	(revision 30711)
@@ -1,3 +1,8 @@
+Sat Jan 29 00:30:44 2011  Yusuke Endoh  <mame@t...>
+
+	* variable.c (set_const_visibility): fix typo.  a patch from Tomoyuki
+	  Chikanaga in [ruby-core:32919].
+
 Fri Jan 28 23:20:28 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create,
Index: variable.c
===================================================================
--- variable.c	(revision 30710)
+++ variable.c	(revision 30711)
@@ -1895,7 +1895,7 @@
 
     if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(mod)) {
 	rb_raise(rb_eSecurityError,
-		 "Insecure: can't change method visibility");
+		 "Insecure: can't change constant visibility");
     }
 
     for (i = 0; i < argc; i++) {

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

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