зеркало из https://github.com/github/ruby.git
* process.c (rb_fork_internal): initialize exc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
18d03a9eb5
Коммит
f45eb45100
|
@ -1,3 +1,7 @@
|
|||
Sun Jun 10 01:37:18 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* process.c (rb_fork_internal): initialize exc.
|
||||
|
||||
Sun Jun 10 00:19:25 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* process.c: don't use non async-signal-safe functions in a child
|
||||
|
|
|
@ -2881,7 +2881,7 @@ rb_fork_internal(int *status, int (*chfunc)(void*, char *, size_t), void *charg,
|
|||
rb_pid_t pid;
|
||||
int err, state = 0;
|
||||
int ep[2];
|
||||
VALUE exc;
|
||||
VALUE exc = Qnil;
|
||||
int error_occured;
|
||||
|
||||
if (status) *status = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче