diff options
author | Roland McGrath <roland@redhat.com> | 1995-02-10 23:44:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-02-10 23:44:03 +0000 |
commit | c5af4810ff3c4d2f7a080ba642918c128f33a349 (patch) | |
tree | b9d3c9734050d8ecb0e7ebeb56b77470012ef54b | |
parent | 551c4322cb2deb21c38880efe695c9c9043f9246 (diff) | |
download | make-c5af4810ff3c4d2f7a080ba642918c128f33a349.tar.gz |
(start_job_command): Remember to call notice_finsihed_file under -n when3.72.6
not recursing. To do this, consolidate that code under the empty command
case and goto there for the -n case.
-rw-r--r-- | job.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -592,6 +592,7 @@ start_job_command (child) if (argv == 0) { + next_command: /* This line has no commands. Go to the next. */ if (job_next_command (child)) start_job_command (child); @@ -624,10 +625,7 @@ start_job_command (child) { free (argv[0]); free ((char *) argv); - if (job_next_command (child)) - start_job_command (child); - child->file->update_status = 0; - return; + goto next_command; } /* Flush the output streams so they won't have things written twice. */ |