mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (proc_invoke): should push PROT_PCALL tag for orphans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f1db6ea96
commit
54fec448f5
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Sep 18 22:43:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (proc_invoke): should push PROT_PCALL tag for orphans.
|
||||
|
||||
* eval.c (proc_invoke): should update "result" for orphans.
|
||||
|
||||
Thu Sep 18 20:30:17 2003 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* lib/pathname.rb: update document.
|
||||
|
|
2
eval.c
2
eval.c
|
@ -7029,7 +7029,7 @@ proc_invoke(proc, args, self, klass)
|
|||
|
||||
PUSH_ITER(ITER_CUR);
|
||||
ruby_frame->iter = ITER_CUR;
|
||||
PUSH_TAG(pcall ? PROT_PCALL : PROT_CALL);
|
||||
PUSH_TAG((pcall || orphan) ? PROT_PCALL : PROT_CALL);
|
||||
state = EXEC_TAG();
|
||||
if (state == 0) {
|
||||
proc_set_safe_level(proc);
|
||||
|
|
Loading…
Add table
Reference in a new issue