summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:04 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:04 +0000
commitc1e78ee5a2697afc0902d1be294d71de93090909 (patch)
treef2cc9270b427a4ce9afed950243fd55efd341032 /apt-pkg
parente301bbe940636295d844ba8ab278c10828a004fa (diff)
Various minor bug fixes
Author: jgg Date: 1999-06-24 04:06:30 GMT Various minor bug fixes
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/cachefile.cc4
-rw-r--r--apt-pkg/clean.cc3
2 files changed, 3 insertions, 4 deletions
diff --git a/apt-pkg/cachefile.cc b/apt-pkg/cachefile.cc
index 2efa0522c..d7f3c0937 100644
--- a/apt-pkg/cachefile.cc
+++ b/apt-pkg/cachefile.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cachefile.cc,v 1.3 1999/05/04 20:09:48 jgg Exp $
+// $Id: cachefile.cc,v 1.4 1999/06/24 04:06:30 jgg Exp $
/* ######################################################################
CacheFile - Simple wrapper class for opening, generating and whatnot
@@ -65,7 +65,7 @@ bool pkgCacheFile::Open(OpProgress &Progress,bool WithLock)
if (_error->PendingError() == true)
return _error->Error("The package lists or status file could not be parsed or opened.");
if (_error->empty() == false)
- _error->Warning("You may want to run apt-get update to correct theses missing files");
+ _error->Warning("You may want to run apt-get update to correct these missing files");
// Open the cache file
FileFd File(_config->FindFile("Dir::Cache::pkgcache"),FileFd::ReadOnly);
diff --git a/apt-pkg/clean.cc b/apt-pkg/clean.cc
index db47b1cc4..b859e382b 100644
--- a/apt-pkg/clean.cc
+++ b/apt-pkg/clean.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: clean.cc,v 1.1 1999/02/01 08:11:57 jgg Exp $
+// $Id: clean.cc,v 1.2 1999/06/24 04:06:30 jgg Exp $
/* ######################################################################
Clean - Clean out downloaded directories
@@ -101,7 +101,6 @@ bool pkgArchiveCleaner::Go(string Dir,pkgCache &Cache)
}
Erase(Dir->d_name,Pkg,Ver,St);
- unlink(Dir->d_name);
};
chdir(StartDir.c_str());