diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-19 14:50:47 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-19 14:50:47 +0000 |
commit | c54733e1206c2d7434610c8f7f2875f082231cfd (patch) | |
tree | 35c9630ade390f3a9562e2447dc01f024cd37b2c /process.c | |
parent | 66795c47745698b30d42b35831f359aa3c07bf2c (diff) | |
download | ruby-c54733e1206c2d7434610c8f7f2875f082231cfd.tar.gz |
fix typos inspired by r40825
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3312,7 +3312,7 @@ rb_fork_internal(int *status, int (*chfunc)(void*, char *, size_t), void *charg, int err, state = 0; int ep[2]; VALUE exc = Qnil; - int error_occured; + int error_occurred; if (status) *status = 0; @@ -3358,8 +3358,8 @@ rb_fork_internal(int *status, int (*chfunc)(void*, char *, size_t), void *charg, #endif } close(ep[1]); - error_occured = recv_child_error(ep[0], &state, &exc, &err, errmsg, errmsg_buflen, chfunc_is_async_signal_safe); - if (state || error_occured) { + error_occurred = recv_child_error(ep[0], &state, &exc, &err, errmsg, errmsg_buflen, chfunc_is_async_signal_safe); + if (state || error_occurred) { if (status) { rb_protect(proc_syswait, (VALUE)pid, status); if (state) *status = state; |