From: Oliver Kiddle Date: Wed, 18 May 2005 13:45:03 +0000 (+0000) Subject: use fork instead of vfork on Linux X-Git-Tag: RELEASE_1_2~37 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=9d27405ff3562d183784a244ee44bbaf71eabda8;p=mmh use fork instead of vfork on Linux --- 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 */