From 4fa66dc53ba7e6c975c71a7419e6081352dea250 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 10 Jun 2012 12:13:33 +0000 Subject: * process.c (rb_fork): call rb_fork_internal instead of rb_fork_err. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index f49598ede4..63cd0fd424 100644 --- a/process.c +++ b/process.c @@ -3003,10 +3003,10 @@ rb_fork(int *status, int (*chfunc)(void*), void *charg, VALUE fds) struct chfunc_wrapper_t warg; warg.chfunc = chfunc; warg.arg = charg; - return rb_fork_err(status, chfunc_wrapper, &warg, fds, NULL, 0); + return rb_fork_internal(status, chfunc_wrapper, &warg, FALSE, fds, NULL, 0); } else { - return rb_fork_err(status, NULL, NULL, fds, NULL, 0); + return rb_fork_internal(status, NULL, NULL, FALSE, fds, NULL, 0); } } -- cgit v1.2.3