summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2018-05-04 19:56:41 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2018-05-05 00:34:27 +0200
commitb12bdeaf8acd050c5526ecc05526db70df5fd485 (patch)
tree583f7ed831b0267c5d6103abab5fbc4b44906003 /apt-pkg/contrib
parent5f9c05db78926dfb063fdd0493ecc6b8e12c2e02 (diff)
Fix various typos reported by spellcheckers
Reported-By: codespell & spellintian Gbp-Dch: Ignore
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/mmap.h2
-rw-r--r--apt-pkg/contrib/strutl.cc4
2 files changed, 3 insertions, 3 deletions
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();