aboutsummaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-18 10:36:54 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-18 10:36:54 +0000
commit00b8bd5c877606ff0cbdc4a0afdf75cd9a3b61cb (patch)
tree49023b3b29299b3537d22fdce3fd0bdc2d5e7e4a /error.c
parent04f0de74dd22bc9e06b14d0c777d15fcde2e50a8 (diff)
downloadruby-00b8bd5c877606ff0cbdc4a0afdf75cd9a3b61cb.tar.gz
* error.c, object.c, ext/readline/README.ja: [DOC] $SAFE=4 is obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/error.c b/error.c
index 62748faff0..531c607509 100644
--- a/error.c
+++ b/error.c
@@ -1588,14 +1588,14 @@ syserr_eqq(VALUE self, VALUE exc)
*
* foo = "bar"
* proc = Proc.new do
- * $SAFE = 4
- * foo.gsub! "a", "*"
+ * $SAFE = 3
+ * foo.untaint
* end
* proc.call
*
* <em>raises the exception:</em>
*
- * SecurityError: Insecure: can't modify string
+ * SecurityError: Insecure: Insecure operation `untaint' at level 3
*/
/*