• Marshall Garey's avatar
    Don't skip jobs in scontrol hold · fd91c715
    Marshall Garey authored
    Fix regression caused by commit bb8b4214.
    
    Commit bb8b4214 introduced this in scontrol_hold():
    
    -		job_msg.job_id_str = _next_job_id();
    -		while (job_msg.job_id_str) {
    +		while ((job_msg.job_id_str = _next_job_id())) {
    
    But didn't take out _next_job_id() at the bottom of the while loop -
    so _next_job_id() is called twice in a row, skipping every other job
    in the list.
    
    Bug 5902
    fd91c715
To find the state of this project's repository at the time of any of these versions, check out the tags.