summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-11-12 20:45:29 +0000
committerRoland McGrath <roland@redhat.com>1992-11-12 20:45:29 +0000
commitecc3b332999c2cc0418293fdc371afe6cb856bf9 (patch)
tree157fa61399cdabef282ff8b6b4182edacaeecfb0
parent424bcccf984c42ae68949d2e38e4db373f59a194 (diff)
downloadgunmake-ecc3b332999c2cc0418293fdc371afe6cb856bf9.tar.gz
Formerly job.c.~85~
-rw-r--r--job.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/job.c b/job.c
index 1a55be7..3ed0569 100644
--- a/job.c
+++ b/job.c
@@ -513,6 +513,11 @@ start_job_command (child)
free ((char *) argv);
if (job_next_command (child))
start_job_command (child);
+ else
+ /* Normally, this is set by reap_children to indicate that
+ some commands were actually run. Under -n, reap_children
+ never gets called, so we increment it here. */
+ ++files_remade;
return;
}