diff options
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/mmap.h | 2 | ||||
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 4 |
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(); |