Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/find Back out previous vfork->fork change now that t...
details: https://anonhg.NetBSD.org/src/rev/be45bf5806fd
branches: trunk
changeset: 515167:be45bf5806fd
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Sep 18 05:11:15 2001 +0000
description:
Back out previous vfork->fork change now that the cause of the problem
(execvp) has been fixed.
diffstat:
usr.bin/find/function.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 92919440767f -r be45bf5806fd usr.bin/find/function.c
--- a/usr.bin/find/function.c Tue Sep 18 05:09:37 2001 +0000
+++ b/usr.bin/find/function.c Tue Sep 18 05:11:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: function.c,v 1.36 2001/09/14 08:19:25 simonb Exp $ */
+/* $NetBSD: function.c,v 1.37 2001/09/18 05:11:15 simonb Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "from: @(#)function.c 8.10 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: function.c,v 1.36 2001/09/14 08:19:25 simonb Exp $");
+__RCSID("$NetBSD: function.c,v 1.37 2001/09/18 05:11:15 simonb Exp $");
#endif
#endif /* not lint */
@@ -354,9 +354,9 @@
fflush(stdout);
fflush(stderr);
- switch (pid = fork()) {
+ switch (pid = vfork()) {
case -1:
- err(1, "fork");
+ err(1, "vfork");
/* NOTREACHED */
case 0:
if (fchdir(dotfd)) {
Home |
Main Index |
Thread Index |
Old Index