[前][次][番号順一覧][スレッド一覧]

ruby-changes:30602

From: ktsj <ko1@a...>
Date: Sun, 25 Aug 2013 20:48:31 +0900 (JST)
Subject: [ruby-changes:30602] ktsj:r42681 (trunk): * object.c: [DOC] remove comment about trust/untrust.

ktsj	2013-08-25 20:48:24 +0900 (Sun, 25 Aug 2013)

  New Revision: 42681

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42681

  Log:
    * object.c: [DOC] remove comment about trust/untrust.

  Modified files:
    trunk/object.c
Index: object.c
===================================================================
--- object.c	(revision 42680)
+++ object.c	(revision 42681)
@@ -918,8 +918,8 @@ rb_obj_tainted(VALUE obj) https://github.com/ruby/ruby/blob/trunk/object.c#L918
  *  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 objects are tainted and untrusted, any use of
- *  trust or taint methods will raise a SecurityError exception.
+ *  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/

[前][次][番号順一覧][スレッド一覧]