Skip to content

Commit

Permalink
* variable.c (set_const_visibility): fix typo. a patch from Tomoyuki
Browse files Browse the repository at this point in the history
  Chikanaga in [ruby-core:32919].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
mame committed Jan 28, 2011
1 parent 77a7137 commit b9a1e36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
Sat Jan 29 00:30:44 2011 Yusuke Endoh <mame@tsg.ne.jp>

* 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@gmail.com>

* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create,
Expand Down
2 changes: 1 addition & 1 deletion variable.c
Expand Up @@ -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++) {
Expand Down

0 comments on commit b9a1e36

Please sign in to comment.