diff --git a/Glob.cxx b/Glob.cxx
index c868f5c64dfdb78310cd6504b6353a2ff525d2a2..2b6db78cf835b35300861a5e22f59fce6f53c070 100644
--- a/Glob.cxx
+++ b/Glob.cxx
@@ -28,7 +28,7 @@
 #include <string.h>
 namespace KWSYS_NAMESPACE {
 #if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__)
-// On Windows and apple, no difference between lower and upper case
+// On Windows and Apple, no difference between lower and upper case
 #define KWSYS_GLOB_CASE_INDEPENDENT
 #endif
 
@@ -201,7 +201,7 @@ bool Glob::RecurseDirectory(std::string::size_type start,
     }
 
 #if defined(KWSYS_GLOB_CASE_INDEPENDENT)
-    // On Windows and apple, no difference between lower and upper case
+    // On Windows and Apple, no difference between lower and upper case
     fname = kwsys::SystemTools::LowerCase(fname);
 #endif
 
diff --git a/SharedForward.h.in b/SharedForward.h.in
index f638267ec5710dbd5ae349052b6ac8e522d86b3d..0caf5e7c3f0d6040a5737cac49fce53d9e9db238 100644
--- a/SharedForward.h.in
+++ b/SharedForward.h.in
@@ -225,7 +225,7 @@ static const char kwsys_shared_forward_path_slash[2] = {
 #define KWSYS_SHARED_FORWARD_LDD_N 1
 #define KWSYS_SHARED_FORWARD_LDPATH "LD_LIBRARY_PATH"
 
-/* OSX */
+/* OS X */
 #elif defined(__APPLE__)
 #define KWSYS_SHARED_FORWARD_LDD "otool", "-L"
 #define KWSYS_SHARED_FORWARD_LDD_N 2
diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index bde75c54e2e741d76b97f1ec5d31b3f4d842ae4b..7503469a2964a77c3987ebb5d88bd671236f7997 100644
--- a/SystemInformation.cxx
+++ b/SystemInformation.cxx
@@ -340,7 +340,7 @@ public:
 
   bool DoesCPUSupportCPUID();
 
-  // Retrieve memory information in megabyte.
+  // Retrieve memory information in MiB.
   size_t GetTotalVirtualMemory();
   size_t GetAvailableVirtualMemory();
   size_t GetTotalPhysicalMemory();
@@ -348,7 +348,7 @@ public:
 
   LongLong GetProcessId();
 
-  // Retrieve memory information in kib
+  // Retrieve memory information in KiB.
   LongLong GetHostMemoryTotal();
   LongLong GetHostMemoryAvailable(const char* envVarName);
   LongLong GetHostMemoryUsed();
@@ -736,7 +736,7 @@ bool SystemInformation::DoesCPUSupportCPUID()
   return this->Implementation->DoesCPUSupportCPUID();
 }
 
-// Retrieve memory information in megabyte.
+// Retrieve memory information in MiB.
 size_t SystemInformation::GetTotalVirtualMemory()
 {
   return this->Implementation->GetTotalVirtualMemory();
diff --git a/SystemInformation.hxx.in b/SystemInformation.hxx.in
index de222328b4004ac61ed871d8d07ade1de0146090..fe7e8b557ae07bff188baf8b0ceab17aa766284e 100644
--- a/SystemInformation.hxx.in
+++ b/SystemInformation.hxx.in
@@ -103,7 +103,7 @@ public:
   // Retrieve id of the current running process
   LongLong GetProcessId();
 
-  // Retrieve memory information in megabyte.
+  // Retrieve memory information in MiB.
   size_t GetTotalVirtualMemory();
   size_t GetAvailableVirtualMemory();
   size_t GetTotalPhysicalMemory();
diff --git a/SystemTools.cxx b/SystemTools.cxx
index 8aca3edb3ffa81f3b39b12080c8d671b69bd8fc8..999beb3abef539c49a405d932e429ce3736188ee 100644
--- a/SystemTools.cxx
+++ b/SystemTools.cxx
@@ -3327,7 +3327,7 @@ std::string SystemTools::RelativePath(const std::string& local,
   unsigned int sameCount = 0;
   while (((sameCount <= (localSplit.size() - 1)) &&
           (sameCount <= (remoteSplit.size() - 1))) &&
-// for windows and apple do a case insensitive string compare
+// for Windows and Apple do a case insensitive string compare
 #if defined(_WIN32) || defined(__APPLE__)
          SystemTools::Strucmp(localSplit[sameCount].c_str(),
                               remoteSplit[sameCount].c_str()) == 0