summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-04 14:20:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-04 14:20:35 +0000
commit1d6e0f8281a3b00829f8360c9fcf58b69788d401 (patch)
tree4026a4e1e49de6e28ee6c420b22d89328f7efb09 /process.c
parent566aa6625327e534c4941f2c2b6ca6c4f06162f3 (diff)
forgot to commit everything bug ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/process.c b/process.c
index 618bbc974d..e10c0d7096 100644
--- a/process.c
+++ b/process.c
@@ -40,9 +40,6 @@ struct timeval rb_time_interval _((VALUE));
#ifdef HAVE_GETPRIORITY
# include <sys/resource.h>
#endif
-#ifdef HAVE_VFORK_H
-#include <vfork.h>
-#endif
#include "st.h"
#ifdef __EMX__
@@ -727,7 +724,7 @@ rb_f_system(argc, argv)
Check_SafeStr(argv[i]);
}
retry:
- switch (pid = vfork()) {
+ switch (pid = fork()) {
case 0:
if (argc == 1 && prog == 0) {
rb_proc_exec(RSTRING(argv[0])->ptr);