diff options
author | guenther <guenther@openbsd.org> | 2014-07-05 07:57:43 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2014-07-05 07:57:43 +0000 |
commit | 7d40666ef7a16a9339ec226bc9ecfa6efb3cb757 (patch) | |
tree | 776ae0ee012d8db888537ba48f3988510b4272d6 /usr.bin/rdist | |
parent | Assume POSIX: S_IFSOCK and S_IFIFO (diff) | |
download | wireguard-openbsd-7d40666ef7a16a9339ec226bc9ecfa6efb3cb757.tar.xz wireguard-openbsd-7d40666ef7a16a9339ec226bc9ecfa6efb3cb757.zip |
Our fork() never misses
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r-- | usr.bin/rdist/child.c | 11 |
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); |