summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmDepends.cxx1
-rw-r--r--Source/cmFileTimeComparison.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmDepends.cxx b/Source/cmDepends.cxx
index d66efb4..068c451 100644
--- a/Source/cmDepends.cxx
+++ b/Source/cmDepends.cxx
@@ -89,7 +89,6 @@ void cmDepends::Clear(const char *file)
std::string markFile = file;
markFile += ".mark";
cmSystemTools::RemoveFile(markFile.c_str());
- std::cout << "Remove mark file: " << markFile.c_str() << std::endl;
// Write an empty dependency file.
cmGeneratedFileStream depFileStream(file);
diff --git a/Source/cmFileTimeComparison.cxx b/Source/cmFileTimeComparison.cxx
index b4c603e..4f9af52 100644
--- a/Source/cmFileTimeComparison.cxx
+++ b/Source/cmFileTimeComparison.cxx
@@ -65,7 +65,7 @@ bool cmFileTimeComparisonInternal::Stat(const char* fname, cmFileTimeComparison_
if ( fit != this->Files.end() )
{
*st = fit->second;
- return 0;
+ return true;
}
#endif
#if !defined(_WIN32) || defined(__CYGWIN__)
@@ -114,7 +114,7 @@ bool cmFileTimeComparison::FileTimeCompare(const char* f1, const char* f2, int*
int cmFileTimeComparisonInternal::Compare(cmFileTimeComparison_Type* s1, cmFileTimeComparison_Type* s2)
{
#if !defined(_WIN32) || defined(__CYGWIN__)
-# if KWSYS_STAT_HAS_ST_MTIM
+# if cmsys_STAT_HAS_ST_MTIM
// Compare using nanosecond resolution.
if(s1->st_mtim.tv_sec < s2->st_mtim.tv_sec)
{
@@ -142,8 +142,8 @@ int cmFileTimeComparisonInternal::Compare(cmFileTimeComparison_Type* s1, cmFileT
{
return 1;
}
- return 0;
# endif
+ return 0;
#else
return (int)CompareFileTime(s1, s2);
#endif