summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:15 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:15 +0000
commit3c124dde9567dd8c45d271bf2eaadffa5754f7d9 (patch)
tree0cefe5aba28047b08601f43a0f964b9a34cd9cdc /apt-pkg/deb
parent0dbb95d810308d8dd102fba0303eed657f9f1cd2 (diff)
Supports no automatic
Author: jgg Date: 1998-12-14 08:07:28 GMT Supports no automatic
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/deblistparser.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index 585006451..669c5cd50 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: deblistparser.cc,v 1.12 1998/12/14 06:54:43 jgg Exp $
+// $Id: deblistparser.cc,v 1.13 1998/12/14 08:07:29 jgg Exp $
/* ######################################################################
Package Cache Generator - Generator for the cache structure.
@@ -469,10 +469,9 @@ bool debListParser::LoadReleaseInfo(pkgCache::PkgFileIterator FileI,
if (Section.Find("Architecture",Start,Stop) == true)
FileI->Architecture = WriteUniqString(Start,Stop - Start);
- unsigned long Fl = 0;
- if (Section.FindFlag("NotAutomatic",Fl,1) == false)
+ if (Section.FindFlag("NotAutomatic",FileI->Flags,
+ pkgCache::Flag::NotAutomatic) == false)
_error->Warning("Bad NotAutomatic flag");
- FileI->NotAutomatic = Fl;
return !_error->PendingError();
}