зеркало из https://github.com/github/ruby.git
* vm.c (vm_backtrace): defaults to script name for C functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f403298449
Коммит
94fc275e16
|
@ -1,3 +1,7 @@
|
|||
Mon Dec 15 11:35:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm.c (vm_backtrace): defaults to script name for C functions.
|
||||
|
||||
Mon Dec 15 11:32:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (rubylib_mangled_path, rubylib_mangled_path2): cannot use
|
||||
|
|
2
vm.c
2
vm.c
|
@ -704,7 +704,7 @@ vm_backtrace(rb_thread_t *th, int lev)
|
|||
}
|
||||
|
||||
ary = vm_backtrace_each(th, RUBY_VM_NEXT_CONTROL_FRAME(cfp),
|
||||
top_of_cfp, "", 0, ary);
|
||||
top_of_cfp, RSTRING_PTR(th->vm->progname), 0, ary);
|
||||
return ary;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче