From 459031e5d94baf72c8e30a48922d57c6cff5a2ae Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 4 Jan 2002 14:15:33 +0000 Subject: * process.c (rb_f_system): abandon vfork. * io.c (pipe_open): ditto. * defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS * regex.c (re_search): abandon stclass optimization. * bignum.c (rb_cstr2inum): deny "0_". * bignum.c (rb_cstr2inum): allow "0\n" and so on. * error.c (rb_invalid_str): utility function to show inspect()'ed string. * bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed format. * object.c (rb_Float): ditto. * object.c (rb_convert_type): no longer use rb_rescue(). * re.c (rb_reg_search): initialize taint status of match object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 81685d0c1d..67437d72cc 100644 --- a/process.c +++ b/process.c @@ -40,9 +40,6 @@ struct timeval rb_time_interval _((VALUE)); #ifdef HAVE_GETPRIORITY # include #endif -#ifdef HAVE_VFORK_H -#include -#endif #include "st.h" #ifdef __EMX__ @@ -908,7 +905,7 @@ rb_f_system(argc, argv) SafeStringValue(argv[i]); } retry: - switch (pid = vfork()) { + switch (pid = fork()) { case 0: if (argc == 1 && prog == 0) { rb_proc_exec(RSTRING(argv[0])->ptr); -- cgit v1.2.3