mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_load): save and restore rb_prohibit_interrupt.
[ruby-dev:21857] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
abc10cc28e
commit
86327765f3
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Nov 7 01:03:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* eval.c (rb_load): save and restore rb_prohibit_interrupt.
|
||||||
|
[ruby-dev:21857]
|
||||||
|
|
||||||
Thu Nov 6 18:05:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Nov 6 18:05:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* io.c (rb_io_inspect): show the path also at a closed file.
|
* io.c (rb_io_inspect): show the path also at a closed file.
|
||||||
|
|
2
eval.c
2
eval.c
|
@ -5773,6 +5773,7 @@ rb_load(fname, wrap)
|
||||||
{
|
{
|
||||||
VALUE tmp;
|
VALUE tmp;
|
||||||
int state;
|
int state;
|
||||||
|
volatile int prohibit_int = rb_prohibit_interrupt;
|
||||||
volatile ID last_func;
|
volatile ID last_func;
|
||||||
volatile VALUE wrapper = 0;
|
volatile VALUE wrapper = 0;
|
||||||
volatile VALUE self = ruby_top_self;
|
volatile VALUE self = ruby_top_self;
|
||||||
|
@ -5850,6 +5851,7 @@ rb_load(fname, wrap)
|
||||||
free(ruby_scope->local_tbl);
|
free(ruby_scope->local_tbl);
|
||||||
}
|
}
|
||||||
POP_TAG();
|
POP_TAG();
|
||||||
|
rb_prohibit_interrupt = prohibit_int;
|
||||||
ruby_cref = saved_cref;
|
ruby_cref = saved_cref;
|
||||||
POP_SCOPE();
|
POP_SCOPE();
|
||||||
POP_FRAME();
|
POP_FRAME();
|
||||||
|
|
Loading…
Add table
Reference in a new issue