1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* process.c (rb_f_fork): Unsupport Kernel.fork() on NetBSD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-12-22 10:16:39 +00:00
parent a95ae9619f
commit de1dbf4829
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sat Dec 22 19:14:38 2007 Koichi Sasada <ko1@atdot.net>
* process.c (rb_f_fork): Unsupport Kernel.fork() on NetBSD.
Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp> Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
* test/ruby/test_transcode.rb: Added simple tests for * test/ruby/test_transcode.rb: Added simple tests for

View file

@ -1474,7 +1474,7 @@ rb_fork(int *status, int (*chfunc)(void*), void *charg)
static VALUE static VALUE
rb_f_fork(VALUE obj) rb_f_fork(VALUE obj)
{ {
#ifdef HAVE_FORK #if defined(HAVE_FORK) && !defined(__NetBSD__)
rb_pid_t pid; rb_pid_t pid;
rb_secure(2); rb_secure(2);