зеркало из https://github.com/github/ruby.git
* process.c (rb_f_fork): NetBSD 4.0 or later can fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
56dda0e605
Коммит
a556543f74
|
@ -1,3 +1,7 @@
|
|||
Fri Jun 20 03:26:00 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* process.c (rb_f_fork): NetBSD 4.0 or later can fork.
|
||||
|
||||
Fri Jun 20 03:19:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/testunit/collector/test_dir.rb: r15825 made it unnecessary to change
|
||||
|
|
|
@ -2398,7 +2398,7 @@ rb_fork(int *status, int (*chfunc)(void*), void *charg, VALUE fds)
|
|||
static VALUE
|
||||
rb_f_fork(VALUE obj)
|
||||
{
|
||||
#if defined(HAVE_FORK) && !defined(__NetBSD__)
|
||||
#if defined(HAVE_FORK) && !(defined(__NetBSD__) && __NetBSD_Version__ < 400000000)
|
||||
rb_pid_t pid;
|
||||
|
||||
rb_secure(2);
|
||||
|
|
Загрузка…
Ссылка в новой задаче