]> git.saurik.com Git - apt.git/commit
Call "Dequeue()" for items in AbortTransaction() to fix race
authorMichael Vogt <mvo@ubuntu.com>
Tue, 4 Nov 2014 13:47:59 +0000 (14:47 +0100)
committerMichael Vogt <mvo@ubuntu.com>
Tue, 4 Nov 2014 13:47:59 +0000 (14:47 +0100)
commit53702a590c9905cf3104180fefcf126b26e3aad9
tree2d824321b7234cecf008b120e356d5b876280ff7
parent359e1c4f1f8880b62b430f46680df14f94664906
Call "Dequeue()" for items in AbortTransaction() to fix race

The pkgAcquire::Run() code works uses a while(ToFetch > 0) loop
over the items queued for fetching. This means that we need to
Deqeueue the item if we call AbortTransaction() to avoid a hang.
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h