diff options
author | des <des@FreeBSD.org> | 1998-10-13 14:52:33 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1998-10-13 14:52:33 +0000 |
commit | 3ca80efd3ae02267b3cd6ee92f92c592e3892a1e (patch) | |
tree | 47aae64b409356a4bf073cd33de8d06645f2ff88 /usr.bin/xinstall | |
parent | 528a0157d45bb4f11b9858153bbea5ecb7dafd3a (diff) | |
download | FreeBSD-src-3ca80efd3ae02267b3cd6ee92f92c592e3892a1e.zip FreeBSD-src-3ca80efd3ae02267b3cd6ee92f92c592e3892a1e.tar.gz |
Calls one or more of malloc(), warn(), err(), syslog(), execlp() or
execvp() in the child branch of a vfork(). Changed to use fork()
instead.
Some of these (mv, find, apply, xargs) might benefit greatly from
being rewritten to use vfork() properly.
PR: Loosely related to bin/8252
Approved by: jkh and bde
Diffstat (limited to 'usr.bin/xinstall')
-rw-r--r-- | usr.bin/xinstall/xinstall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index 61adb5d..f6bc52c 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "From: @(#)xinstall.c 8.1 (Berkeley) 7/21/93"; #endif static const char rcsid[] = - "$Id: xinstall.c,v 1.31 1998/01/20 13:52:32 bde Exp $"; + "$Id: xinstall.c,v 1.32 1998/06/02 12:00:07 peter Exp $"; #endif /* not lint */ /*- @@ -645,7 +645,7 @@ strip(to_name) { int serrno, status; - switch (vfork()) { + switch (fork()) { case -1: serrno = errno; (void)unlink(to_name); |