// -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: debsrcrecords.h,v 1.4 1999/10/18 03:44:39 jgg Exp $
+// $Id: debsrcrecords.h,v 1.5 1999/10/18 04:15:25 jgg Exp $
 /* ######################################################################
    
    Debian Source Package Records - Parser implementation for Debian style
    virtual string Section() {return Sect.FindS("Section");};
    virtual const char **Binaries();
    virtual unsigned long Offset() {return iOffset;};
-   virtual unsigned long Length() {return Sec.size();};
    virtual string AsStr() 
    {
-      const char *Start,Stop;
+      const char *Start=0,*Stop=0;
       Sect.GetSection(Start,Stop);
       return string(Start,Stop);
    };
 
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: srcrecords.cc,v 1.2 1999/04/07 05:30:18 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
       Files[Count] = new debSrcRecordParser(FD,I);
       Count++;
    }
-   
+
    Restart();
 }
                                                                        /*}}}*/
 {
    Current = Files;
    for (Parser **I = Files; *I != 0; I++)
-      if ((*I)->Restart() == false)
-        return false;
+      (*I)->Restart();
+   
    return true;
 }
                                                                        /*}}}*/
 
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-cache.cc,v 1.39 1999/10/18 03:44:39 jgg Exp $
+// $Id: apt-cache.cc,v 1.40 1999/10/18 04:15:25 jgg Exp $
 /* ######################################################################
    
    apt-cache - Manages the cache files
 
    for (const char **I = CmdL.FileList + 1; *I != 0; I++)
    {
+      SrcRecs.Restart();
+      
       pkgSrcRecords::Parser *Parse;
       while ((Parse = SrcRecs.Find(*I,false)) != 0)
         cout << Parse->AsStr();