diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-19 18:27:14 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-19 18:27:14 +0000 |
commit | a556543f74d2b35be8b3a67208ff68e758b7253a (patch) | |
tree | 22662fefcfe5cd876025456e417c7bf1deee5c3b | |
parent | 56dda0e6056af8db8b738684d5640e23565a3a49 (diff) | |
download | ruby-a556543f74d2b35be8b3a67208ff68e758b7253a.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | process.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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); |