From 00b8bd5c877606ff0cbdc4a0afdf75cd9a3b61cb Mon Sep 17 00:00:00 2001 From: ktsj Date: Sun, 18 Aug 2013 10:36:54 +0000 Subject: * 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 --- error.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'error.c') 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 * * raises the exception: * - * SecurityError: Insecure: can't modify string + * SecurityError: Insecure: Insecure operation `untaint' at level 3 */ /* -- cgit v1.2.3