diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-09 16:37:44 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-09 16:37:44 +0000 |
commit | f45eb45100e7a655c25629354c0a1c48c363360c (patch) | |
tree | f21f57f385ae3b2dbbab3b21eb3662052bc5f2f6 | |
parent | 18d03a9eb567c4ce5cfb2d301e13462e6ebd6e45 (diff) | |
download | ruby-f45eb45100e7a655c25629354c0a1c48c363360c.tar.gz |
* process.c (rb_fork_internal): initialize exc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | process.c | 2 |
2 files changed, 5 insertions, 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; |