diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:15 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:15 +0000 |
commit | 0dbb95d810308d8dd102fba0303eed657f9f1cd2 (patch) | |
tree | fb3edb5b731915851251f3d42d84e924d204cf5e /apt-pkg/deb/deblistparser.cc | |
parent | 42c90c422da346dbc90b9edc110855df181310ee (diff) |
Havocs _exit
Author: jgg
Date: 1998-12-14 06:54:41 GMT
Havocs _exit
Diffstat (limited to 'apt-pkg/deb/deblistparser.cc')
-rw-r--r-- | apt-pkg/deb/deblistparser.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index 0e5be1266..585006451 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.11 1998/12/14 02:23:47 jgg Exp $ +// $Id: deblistparser.cc,v 1.12 1998/12/14 06:54:43 jgg Exp $ /* ###################################################################### Package Cache Generator - Generator for the cache structure. @@ -468,7 +468,12 @@ bool debListParser::LoadReleaseInfo(pkgCache::PkgFileIterator FileI, FileI->Label = WriteUniqString(Start,Stop - Start); if (Section.Find("Architecture",Start,Stop) == true) FileI->Architecture = WriteUniqString(Start,Stop - Start); - + + unsigned long Fl = 0; + if (Section.FindFlag("NotAutomatic",Fl,1) == false) + _error->Warning("Bad NotAutomatic flag"); + FileI->NotAutomatic = Fl; + return !_error->PendingError(); } /*}}}*/ |