Wichert and Espys bugs
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:09 +0000 (16:53 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:09 +0000 (16:53 +0000)
Author: jgg
Date: 1999-03-17 03:25:25 GMT
Wichert and Espys bugs

apt-pkg/contrib/fileutl.cc
cmdline/apt-cache.cc

index a28dce6..0839cc9 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: fileutl.cc,v 1.23 1999/03/16 00:43:55 jgg Exp $
+// $Id: fileutl.cc,v 1.24 1999/03/17 03:25:25 jgg Exp $
 /* ######################################################################
    
    File Utilities
@@ -45,7 +45,7 @@ bool CopyFile(FileFd &From,FileFd &To)
       if (Size > 64000)
         ToRead = 64000;
       
-      if (To.Read(Buf,ToRead) == false || 
+      if (From.Read(Buf,ToRead) == false || 
          To.Write(Buf,ToRead) == false)
       {
         delete [] Buf;
index 8a3a636..8f47739 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-cache.cc,v 1.28 1999/02/19 08:57:41 jgg Exp $
+// $Id: apt-cache.cc,v 1.29 1999/03/17 03:25:25 jgg Exp $
 /* ######################################################################
    
    apt-cache - Manages the cache files
@@ -361,9 +361,6 @@ bool DumpAvail(CommandLine &Cmd)
 
    for (pkgCache::PkgFileIterator I = Cache.FileBegin(); I.end() == false; I++)
    {
-      if ((I->Flags & pkgCache::Flag::NotSource) != 0)
-        continue;
-      
       if (I.IsOk() == false)
       {
         delete [] Buffer;