summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:09 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:09 +0000
commit4a6d5862ef735b34896c44744acbf1b6b6d3ee15 (patch)
treef50992bc1e05532dc603a0f3b597785d02cb3448 /apt-pkg
parent2ee6f3cb4379aef177f33d8ad63994ef1fde5117 (diff)
Wichert and Espys bugs
Author: jgg Date: 1999-03-17 03:25:25 GMT Wichert and Espys bugs
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/fileutl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc
index a28dce6c0..0839cc963 100644
--- a/apt-pkg/contrib/fileutl.cc
+++ b/apt-pkg/contrib/fileutl.cc
@@ -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;