mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (rb_fork_ruby): call rb_fork_internal directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4b70fab915
commit
f589733a02
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Jun 10 20:55:59 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* process.c (rb_fork_ruby): call rb_fork_internal directly.
|
||||
|
||||
Sun Jun 10 20:19:40 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* process.c (rb_fork_ruby): new function.
|
||||
|
|
|
@ -3014,7 +3014,7 @@ rb_fork(int *status, int (*chfunc)(void*), void *charg, VALUE fds)
|
|||
rb_pid_t
|
||||
rb_fork_ruby(int *status)
|
||||
{
|
||||
return rb_fork(status, NULL, NULL, Qnil);
|
||||
return rb_fork_internal(status, NULL, NULL, FALSE, Qnil, NULL, 0);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue