summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-09-07 00:04:49 +0000
committerRoland McGrath <roland@redhat.com>1994-09-07 00:04:49 +0000
commitca5a8722803fd8b2820db93c036cca7e7f72111b (patch)
tree4fc7b6ceb5b4fb2170053a3a8ee6ed51cbc95210 /job.c
parent4244f182f20db095007162aa6d1064114158ee5a (diff)
downloadgunmake-ca5a8722803fd8b2820db93c036cca7e7f72111b.tar.gz
Changed all assignments of command_state members to calls to
set_command_state.
Diffstat (limited to 'job.c')
-rw-r--r--job.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/job.c b/job.c
index 4831566..51d3576 100644
--- a/job.c
+++ b/job.c
@@ -546,7 +546,7 @@ start_job_command (child)
if (question_flag && !(flags & COMMANDS_RECURSE))
{
child->file->update_status = 1;
- child->file->command_state = cs_finished;
+ set_command_state (child->file, cs_finished);
return;
}
@@ -715,7 +715,7 @@ start_job_command (child)
/* We are the parent side. Set the state to
say the commands are running and return. */
- child->file->command_state = cs_running;
+ set_command_state (child->file, cs_running);
/* Free the storage used by the child's argument list. */
@@ -726,7 +726,7 @@ start_job_command (child)
error:
child->file->update_status = 2;
- child->file->command_state = cs_finished;
+ set_command_state (child->file, cs_finished);
}
/* Try to start a child running.
@@ -955,7 +955,7 @@ job_next_command (child)
{
/* There are no more lines to be expanded. */
child->command_ptr = 0;
- child->file->command_state = cs_finished;
+ set_command_state (child->file, cs_finished);
child->file->update_status = 0;
return 0;
}