From 99b1cdd3a07576542c8bda40d93368f3f76db912 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 19 Jan 2017 13:41:25 +0100 Subject: fix various typos reported by codespell Nothing in user visible strings. Gbp-Dch: Ignore Reported-By: codespell --- apt-pkg/contrib/gpgv.cc | 2 +- apt-pkg/deb/dpkgpm.cc | 4 ++-- apt-pkg/init.cc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apt-pkg') diff --git a/apt-pkg/contrib/gpgv.cc b/apt-pkg/contrib/gpgv.cc index 0878a7ffb..683530428 100644 --- a/apt-pkg/contrib/gpgv.cc +++ b/apt-pkg/contrib/gpgv.cc @@ -402,7 +402,7 @@ bool SplitClearSignedFile(std::string const &InFile, FileFd * const ContentFile, _error->Warning("Clearsigned file '%s' contains unsigned lines.", InFile.c_str()); } - // An error occured during reading - propagate it up + // An error occurred during reading - propagate it up bool const hasErrored = _error->PendingError(); _error->MergeWithStack(); if (hasErrored) diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 00943c1df..8944254ca 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -670,7 +670,7 @@ void pkgDPkgPM::ProcessDpkgStatusLine(char *line) if (unlikely(candset.empty())) { if (Debug == true) - std::clog << "unable to figure out which package is dpkg refering to with '" << pkgname << "'! (1)" << std::endl; + std::clog << "unable to figure out which package is dpkg referring to with '" << pkgname << "'! (1)" << std::endl; return; } else if (candset.size() == 1) // we are lucky @@ -760,7 +760,7 @@ void pkgDPkgPM::ProcessDpkgStatusLine(char *line) if (pkgname.find(':') != std::string::npos) { if (Debug == true) - std::clog << "unable to figure out which package is dpkg refering to with '" << pkgname << "'! (2)" << std::endl; + std::clog << "unable to figure out which package is dpkg referring to with '" << pkgname << "'! (2)" << std::endl; return; } } diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc index 8b25ca100..1981dba96 100644 --- a/apt-pkg/init.cc +++ b/apt-pkg/init.cc @@ -39,7 +39,7 @@ namespace APT { APT_HIDDEN extern std::unordered_map> ArchToTupleMap; } -// Splits by whitespace. There may be continous spans of whitespace - they +// Splits by whitespace. There may be continuous spans of whitespace - they // will be considered as one. static std::vector split(std::string const & s) { -- cgit v1.2.3