From b9a1e36c15a0c131ba13fc15d98ca71dd3c920f5 Mon Sep 17 00:00:00 2001 From: mame Date: Fri, 28 Jan 2011 17:57:19 +0000 Subject: [PATCH] * variable.c (set_const_visibility): fix typo. a patch from Tomoyuki Chikanaga in [ruby-core:32919]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ variable.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b19e3a1d89..b2c3658670 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jan 29 00:30:44 2011 Yusuke Endoh + + * 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 * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create, diff --git a/variable.c b/variable.c index ab0cd7b592..f737973878 100644 --- a/variable.c +++ b/variable.c @@ -1895,7 +1895,7 @@ set_const_visibility(VALUE mod, int argc, VALUE *argv, rb_const_flag_t flag) 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++) {