mirror of
https://github.com/mirror/make.git
synced 2025-01-31 23:00:16 +08:00
(start_waiting_job): Use set_command_state.
This commit is contained in:
parent
d3b9c35c8f
commit
b61a13463d
2
job.c
2
job.c
@ -768,7 +768,7 @@ start_waiting_job (c)
|
|||||||
{
|
{
|
||||||
/* Put this child on the chain of children waiting
|
/* Put this child on the chain of children waiting
|
||||||
for the load average to go down. */
|
for the load average to go down. */
|
||||||
c->file->command_state = cs_running;
|
set_command_state (c->file, cs_running);
|
||||||
c->next = waiting_jobs;
|
c->next = waiting_jobs;
|
||||||
waiting_jobs = c;
|
waiting_jobs = c;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user