mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
77a7137c4b
commit
b9a1e36c15
2 changed files with 6 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue