ruby-changes:38852
From: usa <ko1@a...>
Date: Wed, 17 Jun 2015 15:17:39 +0900 (JST)
Subject: [ruby-changes:38852] usa:r50933 (trunk): * safe.rb (safe_setter): of course, don't have to warn the limitation of
usa 2015-06-17 15:17:21 +0900 (Wed, 17 Jun 2015) New Revision: 50933 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50933 Log: * safe.rb (safe_setter): of course, don't have to warn the limitation of $SAFE=3 after it's removed. Modified files: trunk/ChangeLog trunk/safe.c Index: ChangeLog =================================================================== --- ChangeLog (revision 50932) +++ ChangeLog (revision 50933) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jun 17 15:15:53 2015 NAKAMURA Usaku <usa@r...> + + * safe.rb (safe_setter): of course, don't have to warn the limitation of + $SAFE=3 after it's removed. + Wed Jun 17 14:29:43 2015 SHIBATA Hiroshi <hsbt@r...> * include/ruby/ruby.h: $SAFE=3 is now obsolete. Index: safe.c =================================================================== --- safe.c (revision 50932) +++ safe.c (revision 50933) @@ -75,9 +75,6 @@ safe_setter(VALUE val) https://github.com/ruby/ruby/blob/trunk/safe.c#L75 "tried to downgrade safe level from %d to %d", th->safe_level, level); } - if (level == 3) { - rb_warning("$SAFE=3 does no sandboxing"); - } if (level > SAFE_LEVEL_MAX) { rb_raise(rb_eArgError, "$SAFE=3 and 4 is obsolete"); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/