]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.cc
use the portable timegm shown in his manpage instead of a strange
[apt.git] / apt-pkg / algorithms.cc
index f8a9e210c48f24a36f3e14aeebcb816876b1919d..f1e51131a363adefe89f780c90dae5375b19e6dd 100644 (file)
@@ -1398,7 +1398,9 @@ bool ListUpdate(pkgAcquireStatus &Stat,
                int PulseInterval)
 {
    pkgAcquire::RunResult res;
-   pkgAcquire Fetcher(&Stat);
+   pkgAcquire Fetcher;
+   if (Fetcher.Setup(&Stat, _config->FindDir("Dir::State::Lists")) == false)
+      return false;
 
    // Populate it with the source selection
    if (List.GetIndexes(&Fetcher) == false)