From 6ce35b85c32ce7558e926ab6bc3c9c24424b6cac Mon Sep 17 00:00:00 2001 From: epg <> Date: Tue, 17 Sep 2002 12:45:16 +0000 Subject: [PATCH] Use vfork(2) instead of fork(2). --- mdeliver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdeliver.c b/mdeliver.c index 7e61c37..9e21df3 100644 --- a/mdeliver.c +++ b/mdeliver.c @@ -260,7 +260,7 @@ run_processor(char *home, char *newfn) int olderrno; int fd; - if ((pid = fork()) > 0) { + if ((pid = vfork()) > 0) { return; } else if (pid == 0) { snprintf(command, PATH_MAX, "%s/%s", home, ".mdeliver-processor"); -- 2.56.0