1234567891011121314151617181920212223242526 |
- $OpenBSD: patch-libraries_process_include_runProcess_h,v 1.3 2014/11/22 20:23:23 kili Exp $
- vfork is for terrorists
- --- libraries/process/include/runProcess.h.orig Thu Jul 10 06:33:30 2014
- +++ libraries/process/include/runProcess.h Sun Nov 2 22:13:50 2014
- @@ -25,18 +25,7 @@
- #include <fcntl.h>
- #endif
-
- -#ifdef HAVE_VFORK_H
- -#include <vfork.h>
- -#endif
- -
- -#if defined(HAVE_WORKING_VFORK)
- -#define myfork vfork
- -#elif defined(HAVE_WORKING_FORK)
- #define myfork fork
- -// We don't need a fork command on Windows
- -#elif !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32))
- -#error Cannot find a working fork command
- -#endif
-
- #ifdef HAVE_SIGNAL_H
- #include <signal.h>
|