]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/srcrecords.cc
Regexs for install
[apt.git] / apt-pkg / srcrecords.cc
index 05be79a5a59c4306477d5a348829126fa6d72f3a..6da902d986f20e930a4587543099d3b1cfa3b566 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: srcrecords.cc,v 1.1 1999/04/04 01:17:29 jgg Exp $
+// $Id: srcrecords.cc,v 1.3 1999/10/18 04:15:24 jgg Exp $
 /* ######################################################################
    
    Source Package Records - Allows access to source package records
@@ -63,10 +63,10 @@ pkgSrcRecords::pkgSrcRecords(pkgSourceList &List) : Files(0), Current(0)
         return;
       }
       
-      Files[Count] = new debSrcRecordParser(FD);
+      Files[Count] = new debSrcRecordParser(FD,I);
       Count++;
    }
-   
+
    Restart();
 }
                                                                        /*}}}*/
@@ -90,8 +90,8 @@ bool pkgSrcRecords::Restart()
 {
    Current = Files;
    for (Parser **I = Files; *I != 0; I++)
-      if ((*I)->Restart() == false)
-        return false;
+      (*I)->Restart();
+   
    return true;
 }
                                                                        /*}}}*/