1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/tracer.rb: toplevel caller exists now. [ruby-core:24454]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-07-21 07:08:02 +00:00
parent 9dd0d27156
commit 4ec8dc6d61
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jul 21 16:07:57 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/tracer.rb: toplevel caller exists now. [ruby-core:24454]
Tue Jul 21 13:36:20 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/

View file

@ -161,6 +161,6 @@ if $0 == __FILE__
ARGV.shift
Tracer.on
require $0
elsif caller(0).size == 1
elsif caller.size == 1
Tracer.on
end