mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
safe.c: ruby_safe_level_4_warning
* safe.c (ruby_safe_level_4_warning): define for old extension libraries. [Bug #8652] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
45e8268d62
commit
a4fefc954e
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jul 20 15:02:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* safe.c (ruby_safe_level_4_warning): define for old extension
|
||||
libraries. [Bug #8652]
|
||||
|
||||
Sat Jul 20 14:38:00 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* array.c (ary_make_shared): make shared array shady.
|
||||
|
|
7
safe.c
7
safe.c
|
@ -25,6 +25,13 @@
|
|||
|
||||
#undef rb_secure
|
||||
#undef rb_set_safe_level
|
||||
#undef ruby_safe_level_4_warning
|
||||
|
||||
int
|
||||
ruby_safe_level_4_warning(void)
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
int
|
||||
rb_safe_level(void)
|
||||
|
|
Loading…
Reference in a new issue