From 97779a7e378c369b0f920936598c8921c887fbc6 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 23 Apr 1997 22:25:20 +0000 Subject: [PATCH] Replace vfork() by fork(), vfork() usage is totally bogus in this context. This program don't bother to do even minimal vfork() support as per vfork(2) manpage required. --- usr.bin/vacation/vacation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/vacation/vacation.c b/usr.bin/vacation/vacation.c index 4de8870bc869..fa8b59157333 100644 --- a/usr.bin/vacation/vacation.c +++ b/usr.bin/vacation/vacation.c @@ -40,7 +40,7 @@ static char copyright[] = #ifndef lint static char sccsid[] = "From: @(#)vacation.c 8.2 (Berkeley) 1/26/94"; static char rcsid[] = - "$Id: vacation.c,v 1.5 1997/02/22 19:57:39 peter Exp $"; + "$Id: vacation.c,v 1.6 1997/03/29 04:33:44 imp Exp $"; #endif /* not lint */ /* @@ -415,7 +415,7 @@ sendmessage(myname) syslog(LOG_ERR, "vacation: pipe: %s", strerror(errno)); exit(1); } - i = vfork(); + i = fork(); if (i < 0) { syslog(LOG_ERR, "vacation: fork: %s", strerror(errno)); exit(1);