Print this page
make: unifdef for _CHECK_UPDATE_H (undefined)

@@ -1320,13 +1320,10 @@
  *              waitflg         dwight
  */
 void
 await_parallel(Boolean waitflg)
 {
-#ifdef _CHECK_UPDATE_H
-        static int number_of_unknown_children = 0;
-#endif /* _CHECK_UPDATE_H */
         Boolean         nohang;
         pid_t           pid;
         int             status;
         Running         rp;
         int             waiterr;

@@ -1358,17 +1355,10 @@
                      (rp != NULL) && (rp->pid != pid);
                      rp = rp->next) {
                         ;
                 }
                 if (rp == NULL) {
-#ifdef _CHECK_UPDATE_H
-                        /* Ignore first child - it is check_update */
-                        if (number_of_unknown_children <= 0) {
-                                number_of_unknown_children = 1;
-                                return;
-                        }
-#endif /* _CHECK_UPDATE_H */
                         if (send_mtool_msgs) {
                                 continue;
                         } else {
                                 fatal(catgets(catd, 1, 128, "Internal error: returned child pid not in running_list"));
                         }