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

* lib/tracer.rb: count only non-internal libraries in stack trace,

ignoring custom_require.  [ruby-core:31858]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-09-16 23:30:30 +00:00
parent dc259038f1
commit 0f0d0dcdb3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Sep 17 08:30:27 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/tracer.rb: count only non-internal libraries in stack trace,
ignoring custom_require. [ruby-core:31858]
Fri Sep 17 02:18:41 2010 Akinori MUSHA <knu@iDaemons.org>
* tool/mkconfig.rb: Fix build with m4 1.4.15 generating duplicate

View file

@ -190,6 +190,6 @@ if $0 == __FILE__
ARGV.shift
Tracer.on
require $0
elsif caller.size <= 1
elsif caller.count {|bt| /\A<internal:[^<>]+>:/ !~ bt} <= 1
Tracer.on
end