From 9d27405ff3562d183784a244ee44bbaf71eabda8 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 18 May 2005 13:45:03 +0000 Subject: [PATCH] use fork instead of vfork on Linux --- ChangeLog | 3 +++ h/mh.h | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index ff47800..218fcf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-05-18 Oliver Kiddle + * Debian Bug# 143485: Nick Rusnov: h/mh.h: use fork instead of + vfork on Linux + * Debian Bug# 261592: Harald Geyer: uip/mhlsbr.c, uip/replsbr.c: test/report error writing to stdout diff --git a/h/mh.h b/h/mh.h index 81a6021..afe2682 100644 --- a/h/mh.h +++ b/h/mh.h @@ -7,6 +7,15 @@ #include +/* A quick fix for Linux systems. According to the vfork manual page, + there is little difference in performance, so we aren't losing much. + But this fixes a minor message bug so why not? On NetBSD, this should + probably not happen. */ +#ifdef linux +#define vfork fork +#endif + + /* * Well-used constants */ -- 1.7.10.4