зеркало из https://github.com/github/ruby.git
eval.c: move running
* eval.c (ruby_setup): set running state in the normal case before popping a tag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c1740d890a
Коммит
07784c78b9
|
@ -1,3 +1,8 @@
|
|||
Sat Jun 16 18:31:46 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (ruby_setup): set running state in the normal case before
|
||||
popping a tag.
|
||||
|
||||
Sat Jun 16 07:46:03 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): format workers
|
||||
|
|
2
eval.c
2
eval.c
|
@ -53,10 +53,10 @@ ruby_setup(void)
|
|||
if ((state = EXEC_TAG()) == 0) {
|
||||
rb_call_inits();
|
||||
ruby_prog_init();
|
||||
GET_VM()->running = 1;
|
||||
}
|
||||
POP_TAG();
|
||||
|
||||
if (!state) GET_VM()->running = 1;
|
||||
return state;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче