summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-01-19 13:41:25 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2017-01-19 15:59:38 +0100
commit99b1cdd3a07576542c8bda40d93368f3f76db912 (patch)
treeac3bac6ca19305640181396ae155028ae08aa6d5 /apt-pkg
parent19064623bc6ff2b1cd104cd08b2ddc15141ec761 (diff)
fix various typos reported by codespell
Nothing in user visible strings. Gbp-Dch: Ignore Reported-By: codespell
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/gpgv.cc2
-rw-r--r--apt-pkg/deb/dpkgpm.cc4
-rw-r--r--apt-pkg/init.cc2
3 files changed, 4 insertions, 4 deletions
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<std::string, std::vector<std::string>> 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<std::string> split(std::string const & s)
{