Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst If the first wait4() in launch_subwin(...



details:   https://anonhg.NetBSD.org/src/rev/a41fd9a9b87b
branches:  trunk
changeset: 474645:a41fd9a9b87b
user:      abs <abs%NetBSD.org@localhost>
date:      Wed Jul 14 16:30:58 1999 +0000

description:
If the first wait4() in launch_subwin() caught the child exiting, the loop
would never exit. This resulted in somewhat suboptimal infinite install times.

diffstat:

 distrib/utils/sysinst/run.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 86c6d5e024b1 -r a41fd9a9b87b distrib/utils/sysinst/run.c
--- a/distrib/utils/sysinst/run.c       Wed Jul 14 16:24:48 1999 +0000
+++ b/distrib/utils/sysinst/run.c       Wed Jul 14 16:30:58 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: run.c,v 1.23 1999/07/04 21:39:34 cgd Exp $     */
+/*     $NetBSD: run.c,v 1.24 1999/07/14 16:30:58 abs Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -342,7 +342,6 @@
        FD_SET(dataflow[0], &active_fd_set);
        FD_SET(STDIN_FILENO, &active_fd_set);
 
-       pid = wait4(child, &status, WNOHANG, 0);
        for (selectfailed = 0;;) {
                if (selectfailed) {
                        char *msg = "select(2) failed but no child died?";



Home | Main Index | Thread Index | Old Index