summaryrefslogtreecommitdiff
path: root/usr.bin/rdist
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-07-05 07:57:44 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-07-05 07:57:44 +0000
commit784fb4e3483269b305e48e7d0b39177ecddb3351 (patch)
tree0e119c6d9db0ab969dd9e977e3a09ebd17f45848 /usr.bin/rdist
parent478577c8b34a3ac7645aaf740dda471a9a606c76 (diff)
Our fork() never misses
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r--usr.bin/rdist/child.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.bin/rdist/child.c b/usr.bin/rdist/child.c
index dd1deea4f2f..504b386607e 100644
--- a/usr.bin/rdist/child.c
+++ b/usr.bin/rdist/child.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: child.c,v 1.22 2014/07/05 07:25:27 guenther Exp $ */
+/* $OpenBSD: child.c,v 1.23 2014/07/05 07:57:43 guenther Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -462,15 +462,6 @@ spawn(struct cmd *cmd, struct cmd *cmdlist)
*/
static CHILD newchild;
-#if defined(FORK_MISSES)
- /*
- * XXX Some OS's have a bug where fork does not
- * always return properly to the parent
- * when a number of forks are done very quicky.
- */
- sleep(2);
-#endif /* FORK_MISSES */
-
/* Receive notification when the child exits */
(void) signal(SIGCHLD, reap);