Author: mdz
Date: 2004-03-17 05:17:11 GMT
StatError to avoid a sometimes large batch of error messages
(Closes: #234685)
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire.cc,v 1.49 2001/05/27 04:28:37 jgg Exp $
+// $Id: acquire.cc,v 1.50 2004/03/17 05:17:11 mdz Exp $
/* ######################################################################
Acquire - File Acquiration
void pkgAcquire::Shutdown()
{
while (Items.size() != 0)
+ {
+ if (Items[0]->Status == Item::StatFetching)
+ Items[0]->Status = Item::StatError;
delete Items[0];
+ }
while (Queues != 0)
{
* Regenerate .pot file (Closes: #237892)
* Updated Polish translation from Marcin Owsiany <porridge@debian.org>
(Closes: #238333)
+ * In pkgAcquire::Shutdown(), set the status of fetching items to
+ StatError to avoid a sometimes large batch of error messages
+ (Closes: #234685)
--