mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
18d03a9eb5
commit
f45eb45100
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue