[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#143307: Suggested fix



I suggest you add
    sincenothing= 0;
to before the two returns near the top of deferred_remove in remove.c,
ie just in between the two occurrences of these two lines:
    pkg->clientdata->istobe= itb_normal;
    return;

You should probably add
    sincenothing= 0;
to inside the setjmp handler in while (queuelen) in
packages.c:process_queue, too.

Really, it would be better to do something different to arrange to
definitely only increment sincenothing if the package is put back on
the queue, rather than having to remember in all places where its
processing is stopped *without* putting it back on the queue.

Ian.


-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: