Changeset 514 for trunk/src


Ignore:
Timestamp:
Sep 15, 2006, 10:23:01 AM (19 years ago)
Author:
bird
Message:

Fixed a loop for ever condtion in new_job related to multiple jobs (-j).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/job.c

    r504 r514  
    18341834    /* Since there is only one job slot, make things run linearly.
    18351835       Wait for the child to die, setting the state to `cs_finished'.  */
    1836     while (file->command_state == cs_running)
     1836    while (file->command_state == cs_running
     1837        && (job_slots == 1 || not_parallel > 0))
    18371838      reap_children (1, 0);
    18381839
Note: See TracChangeset for help on using the changeset viewer.