ruby-changes:38898
From: ktsj <ko1@a...>
Date: Sat, 20 Jun 2015 17:33:19 +0900 (JST)
Subject: [ruby-changes:38898] ktsj:r50979 (trunk): * object.c (rb_obj_taint): [DOC] $SAFE=3 is obsolete.
ktsj 2015-06-20 17:32:54 +0900 (Sat, 20 Jun 2015) New Revision: 50979 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50979 Log: * object.c (rb_obj_taint): [DOC] $SAFE=3 is obsolete. Modified files: trunk/object.c Index: object.c =================================================================== --- object.c (revision 50978) +++ object.c (revision 50979) @@ -953,9 +953,6 @@ rb_obj_tainted(VALUE obj) https://github.com/ruby/ruby/blob/trunk/object.c#L953 * * You should only untaint a tainted object if your code has inspected it and * determined that it is safe. To do so use #untaint. - * - * In $SAFE level 3, all newly created objects are tainted and you can't untaint - * objects. */ VALUE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/