From 28d67a0bfebaeeb61f436a6d1f38909f823061c7 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 4 Nov 2004 23:43:40 +0000 Subject: * string.c (str_gsub): should have removed rb_str_unlocktmp(str). [ruby-dev:24708] * ext/socket/socket.c (s_recvfrom): buffer modification check. [ruby-dev:24708] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/getopts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/getopts.rb') diff --git a/lib/getopts.rb b/lib/getopts.rb index 924ba5b249..f63bbfef6f 100644 --- a/lib/getopts.rb +++ b/lib/getopts.rb @@ -15,7 +15,7 @@ # rewritten by Akinori MUSHA # -warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: getopts is deprecated after Ruby 1.8.1; use optparse instead" +warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: getopts is deprecated after Ruby 1.8.1; use optparse instead" if caller[0] $RCS_ID=%q$Header$ -- cgit v1.2.3