(vfork): Define as fork.
authorRichard M. Stallman <rms@gnu.org>
Sun, 4 Feb 1996 21:34:21 +0000 (21:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 4 Feb 1996 21:34:21 +0000 (21:34 +0000)
src/s/freebsd.h
src/s/netbsd.h

index 772a760..9a32b9b 100644 (file)
@@ -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
index b653566..4ca4b4d 100644 (file)
@@ -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