summaryrefslogtreecommitdiff
path: root/remake.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 /remake.c
parent4244f182f20db095007162aa6d1064114158ee5a (diff)
downloadgunmake-ca5a8722803fd8b2820db93c036cca7e7f72111b.tar.gz
Changed all assignments of command_state members to calls to
set_command_state.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/remake.c b/remake.c
index 452e7e5..7ed6794 100644
--- a/remake.c
+++ b/remake.c
@@ -468,7 +468,7 @@ update_file_1 (file, depth)
if (running)
{
- file->command_state = cs_deps_running;
+ set_command_state (file, cs_deps_running);
--depth;
DEBUGPR ("The dependencies of `%s' are being made.\n");
return 0;
@@ -478,7 +478,7 @@ update_file_1 (file, depth)
if (dep_status != 0)
{
- file->command_state = cs_finished;
+ set_command_state (file, cs_finished);
file->update_status = dep_status;
file->updated = 1;
@@ -493,7 +493,7 @@ update_file_1 (file, depth)
return dep_status;
}
- file->command_state = cs_not_started;
+ set_command_state (file, cs_not_started);
/* Now record which dependencies are more
recent than this file, so we can define $?. */
@@ -549,7 +549,7 @@ update_file_1 (file, depth)
if (!must_make)
{
DEBUGPR ("No need to remake target `%s'.\n");
- file->command_state = cs_finished;
+ set_command_state (file, cs_finished);
file->update_status = 0;
file->updated = 1;
return 0;
@@ -738,7 +738,7 @@ check_dep (file, depth, this_mtime, must_make_ptr)
/* Record that some of FILE's dependencies are still being made.
This tells the upper levels to wait on processing it until
the commands are finished. */
- file->command_state = cs_deps_running;
+ set_command_state (file, cs_deps_running);
lastd = d;
d = d->next;