aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-04 23:43:40 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-04 23:43:40 +0000
commit28d67a0bfebaeeb61f436a6d1f38909f823061c7 (patch)
tree52d716a8fcc63780eaadf6aeb20d3c0cdb316315 /lib
parent47548dd33e4cb2cd747f746262a4777bd214e485 (diff)
downloadruby-28d67a0bfebaeeb61f436a6d1f38909f823061c7.tar.gz
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/getopts.rb2
1 files changed, 1 insertions, 1 deletions
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 <knu@ruby-lang.org>
#
-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$