From 22fcc83edf1a7599a8a9d9302e3d2de395ca6508 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 4 Feb 1996 21:34:21 +0000 Subject: [PATCH] (vfork): Define as fork. --- src/s/freebsd.h | 4 ++++ src/s/netbsd.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 772a760900b..9a32b9bf57d 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -88,3 +88,7 @@ #include #endif #define WRETCODE(w) (_W_INT(w) >> 8) + +/* Needed to avoid hanging when child process writes an error message + and exits -- enami tsugutomo . */ +#define vfork fork diff --git a/src/s/netbsd.h b/src/s/netbsd.h index b6535665724..4ca4b4d6885 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h @@ -61,3 +61,7 @@ #define NO_MATHERR #define AMPERSAND_FULL_NAME + +/* Needed to avoid hanging when child process writes an error message + and exits -- enami tsugutomo . */ +#define vfork fork -- 2.39.2