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

* eval.c (rb_exec_end_proc): maintain tmp_end_procs.

[ruby-dev:22154]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-12-05 08:27:19 +00:00
parent aabecebd69
commit 3be09a4f4f
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Fri Dec 5 17:26:23 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_exec_end_proc): maintain tmp_end_procs.
[ruby-dev:22154]
Fri Dec 5 13:36:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org> Fri Dec 5 13:36:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_exec_end_proc): should not clear end_procs and * eval.c (rb_exec_end_proc): should not clear end_procs and

5
eval.c
View file

@ -6626,7 +6626,7 @@ rb_exec_end_proc()
error_handle(status); error_handle(status);
} }
tmp = link; tmp = link;
link = link->next; tmp_end_procs = link = link->next;
free(tmp); free(tmp);
} }
} }
@ -6644,11 +6644,10 @@ rb_exec_end_proc()
error_handle(status); error_handle(status);
} }
tmp = link; tmp = link;
link = link->next; tmp_end_procs = link = link->next;
free(tmp); free(tmp);
} }
} }
tmp_end_procs = 0;
ruby_safe_level = safe; ruby_safe_level = safe;
} }