From bb67f32a94668877b2e5a0b50ae4592145af4454 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 23 Apr 1997 22:25:20 +0000 Subject: 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(-) (limited to 'usr.bin/vacation') diff --git a/usr.bin/vacation/vacation.c b/usr.bin/vacation/vacation.c index 4de8870..fa8b591 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); -- cgit v1.1