зеркало из https://github.com/github/ruby.git
* 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:
Родитель
abc10cc28e
Коммит
86327765f3
|
@ -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>
|
||||
|
||||
* 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;
|
||||
int state;
|
||||
volatile int prohibit_int = rb_prohibit_interrupt;
|
||||
volatile ID last_func;
|
||||
volatile VALUE wrapper = 0;
|
||||
volatile VALUE self = ruby_top_self;
|
||||
|
@ -5850,6 +5851,7 @@ rb_load(fname, wrap)
|
|||
free(ruby_scope->local_tbl);
|
||||
}
|
||||
POP_TAG();
|
||||
rb_prohibit_interrupt = prohibit_int;
|
||||
ruby_cref = saved_cref;
|
||||
POP_SCOPE();
|
||||
POP_FRAME();
|
||||
|
|
Загрузка…
Ссылка в новой задаче