From b12bdeaf8acd050c5526ecc05526db70df5fd485 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 4 May 2018 19:56:41 +0200 Subject: Fix various typos reported by spellcheckers Reported-By: codespell & spellintian Gbp-Dch: Ignore --- apt-pkg/contrib/mmap.h | 2 +- apt-pkg/contrib/strutl.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apt-pkg/contrib') diff --git a/apt-pkg/contrib/mmap.h b/apt-pkg/contrib/mmap.h index c194de534..55b40147a 100644 --- a/apt-pkg/contrib/mmap.h +++ b/apt-pkg/contrib/mmap.h @@ -37,7 +37,7 @@ using std::string; class FileFd; -/* This should be a 32 bit type, larger tyes use too much ram and smaller +/* This should be a 32 bit type, larger types use too much ram and smaller types are too small. Where ever possible 'unsigned long' should be used instead of this internal type */ typedef unsigned int map_ptrloc; diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index 638f09e9d..7507fff29 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -692,7 +692,7 @@ int stringcasecmp(string::const_iterator A,string::const_iterator AEnd, } #endif /*}}}*/ -// LookupTag - Lookup the value of a tag in a taged string /*{{{*/ +// LookupTag - Lookup the value of a tag in a tagged string /*{{{*/ // --------------------------------------------------------------------- /* The format is like those used in package files and the method communication system */ @@ -1001,7 +1001,7 @@ static time_t timegm(struct tm *t) bool RFC1123StrToTime(const char* const str,time_t &time) { unsigned short day = 0; - signed int year = 0; // yes, Y23K problem – we gonna worry then… + signed int year = 0; // yes, Y23K problem – we going to worry then… std::string weekday, month, datespec, timespec, zone; std::istringstream ss(str); auto const &posix = std::locale::classic(); -- cgit v1.2.3