changeset 14493:9b8b46e18f97

(vfork): Define as fork.
author Richard M. Stallman <rms@gnu.org>
date Sun, 04 Feb 1996 21:34:21 +0000
parents 0ebde55bb21d
children f2dda0ebfe1a
files src/s/freebsd.h src/s/netbsd.h
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/freebsd.h	Sun Feb 04 21:30:40 1996 +0000
+++ b/src/s/freebsd.h	Sun Feb 04 21:34:21 1996 +0000
@@ -88,3 +88,7 @@
 #include <sys/wait.h>
 #endif
 #define WRETCODE(w) (_W_INT(w) >> 8)
+
+/* Needed to avoid hanging when child process writes an error message
+   and exits -- enami tsugutomo <enami@ba2.so-net.or.jp>.  */
+#define vfork fork
--- a/src/s/netbsd.h	Sun Feb 04 21:30:40 1996 +0000
+++ b/src/s/netbsd.h	Sun Feb 04 21:34:21 1996 +0000
@@ -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 <enami@ba2.so-net.or.jp>.  */
+#define vfork fork