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

reverts r20713

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-12-14 00:28:10 +00:00
parent 365d27a8b9
commit 834e3662ba
2 changed files with 6 additions and 6 deletions

View file

@ -1,3 +1,7 @@
Sun Dec 14 09:14:37 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* reverts r20713.
Sun Dec 14 01:35:48 2008 Tanaka Akira <akr@fsij.org>
* process.c (forked_child): new variable.

View file

@ -336,12 +336,8 @@ p $!
end
def location e
e.backtrace.reverse.inject(""){ |last, s|
if s =~ /in .(assert|refute|flunk$|pass$|fail$|raise$)/
break last
else
s
end
e.backtrace.find { |s|
s !~ /in .(assert|refute|flunk|pass|fail|raise)/
}.sub(/:in .*$/, '')
end