Fixes minor typos in comments - no actual change to code

This commit is contained in:
Gaspard Petit
2017-03-08 09:42:14 -05:00
committed by Howard Hinnant
parent 3df43424ac
commit a811a20748
7 changed files with 14 additions and 14 deletions

View File

@ -24,7 +24,7 @@
// SOFTWARE.
//
// Our apologies. When the previous paragraph was written, lowercase had not yet
// been invented (that woud involve another several millennia of evolution).
// been invented (that would involve another several millennia of evolution).
// We did not mean to shout.
#include <chrono>

2
date.h
View File

@ -25,7 +25,7 @@
// SOFTWARE.
//
// Our apologies. When the previous paragraph was written, lowercase had not yet
// been invented (that woud involve another several millennia of evolution).
// been invented (that would involve another several millennia of evolution).
// We did not mean to shout.
#include <algorithm>

View File

@ -24,7 +24,7 @@
// SOFTWARE.
//
// Our apologies. When the previous paragraph was written, lowercase had not yet
// been invented (that woud involve another several millennia of evolution).
// been invented (that would involve another several millennia of evolution).
// We did not mean to shout.
#include "date.h"

View File

@ -24,7 +24,7 @@
// SOFTWARE.
//
// Our apologies. When the previous paragraph was written, lowercase had not yet
// been invented (that woud involve another several millennia of evolution).
// been invented (that would involve another several millennia of evolution).
// We did not mean to shout.
#include "date.h"

10
tz.cpp
View File

@ -25,15 +25,15 @@
// SOFTWARE.
//
// Our apologies. When the previous paragraph was written, lowercase had not yet
// been invented (that woud involve another several millennia of evolution).
// been invented (that would involve another several millennia of evolution).
// We did not mean to shout.
#ifdef _WIN32
// Windows.h will be included directly and indirectly (e.g. by curl).
// We need to define these macros to prevent Windows.h bringing in
// more than we need and do it eearly so Windows.h doesn't get included
// more than we need and do it early so Windows.h doesn't get included
// without these macros having been defined.
// min/max macrosinterfere with the C++ versions.
// min/max macros interfere with the C++ versions.
#ifndef NOMINMAX
#define NOMINMAX
#endif
@ -585,7 +585,7 @@ sort_zone_mappings(std::vector<date::detail::timezone_mapping>& mappings)
});
}
// This routine maps Win32 OS error codes to readable text strngs.
// This routine maps Win32 OS error codes to readable text strings.
static
std::string
get_win32_message(DWORD error_code)
@ -2617,7 +2617,7 @@ extract_gz_file(const std::string& version, const std::string& gz_file,
#if USE_SHELL_API
// When using shelling out with std::system() extra quotes are required around the
// whole command. It's weird but neccessary it seems, see:
// whole command. It's weird but necessary it seems, see:
// http://stackoverflow.com/q/27975969/576911
cmd = "\"" + cmd + "\"";

6
tz.h
View File

@ -25,16 +25,16 @@
// SOFTWARE.
//
// Our apologies. When the previous paragraph was written, lowercase had not yet
// been invented (that woud involve another several millennia of evolution).
// been invented (that would involve another several millennia of evolution).
// We did not mean to shout.
// Get more recent database at http://www.iana.org/time-zones
// The notion of "current timezone" is something the operating system is expected to "just
// know". How it knows this is system specific. It's often a value set by the user at OS
// intallation time and recorded by the OS somewhere. On Linux and Mac systems the current
// installation time and recorded by the OS somewhere. On Linux and Mac systems the current
// timezone name is obtained by looking at the name or contents of a particular file on
// disk. On Windows the current timzeone name comes from the registry. In either method,
// disk. On Windows the current timezone name comes from the registry. In either method,
// there is no guarantee that the "native" current timezone name obtained will match any
// of the "Standard" names in this library's "database". On Linux, the names usually do
// seem to match so mapping functions to map from native to "Standard" are typically not

View File

@ -24,7 +24,7 @@
// SOFTWARE.
//
// Our apologies. When the previous paragraph was written, lowercase had not yet
// been invented (that woud involve another several millennia of evolution).
// been invented (that would involve another several millennia of evolution).
// We did not mean to shout.
#if !defined(_MSC_VER) || (_MSC_VER >= 1900)
@ -124,7 +124,7 @@ public:
// A Rule specifies one or more set of datetimes without using an offset.
// Multiple dates are specified with multiple years. The years in effect
// go from starting_year_ to ending_year_, inclusive. starting_year_ <=
// ending_year_. save_ is ineffect for times from the specified time
// ending_year_. save_ is in effect for times from the specified time
// onward, including the specified time. When the specified time is
// local, it uses the save_ from the chronologically previous Rule, or if
// there is none, 0.