From c1e78ee5a2697afc0902d1be294d71de93090909 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:54:04 +0000 Subject: Various minor bug fixes Author: jgg Date: 1999-06-24 04:06:30 GMT Various minor bug fixes --- apt-pkg/cachefile.cc | 4 ++-- apt-pkg/clean.cc | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'apt-pkg') 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()); -- cgit v1.2.3