This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  997dd7fe2e6cb1369d6c8435bf34fd25f51728d9 (commit)
       via  8154a4b097286c61d0a98703bd5662dd79bd9b97 (commit)
      from  a7316d4696dc3e6b4d5fae8b09132f0821c2e810 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=997dd7fe2e6cb1369d6c8435bf34fd25f51728d9
commit 997dd7fe2e6cb1369d6c8435bf34fd25f51728d9
Merge: a7316d4 8154a4b
Author:     Daniel Pfeifer <dan...@pfeifer-mail.de>
AuthorDate: Sun Sep 11 14:32:15 2016 -0400
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Sun Sep 11 14:32:15 2016 -0400

    Merge topic 'clang-tidy' into next
    
    8154a4b0 fixup! cmSystemTools: simplify boolean expressions


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8154a4b097286c61d0a98703bd5662dd79bd9b97
commit 8154a4b097286c61d0a98703bd5662dd79bd9b97
Author:     Daniel Pfeifer <dan...@pfeifer-mail.de>
AuthorDate: Sun Sep 11 20:31:43 2016 +0200
Commit:     Daniel Pfeifer <dan...@pfeifer-mail.de>
CommitDate: Sun Sep 11 20:31:43 2016 +0200

    fixup! cmSystemTools: simplify boolean expressions

diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index ae0323b..7352217 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1766,7 +1766,7 @@ bool cmSystemTools::CopyFileTime(const char* fromFile, 
const char* toFile)
   if (!GetFileTime(hFrom, &timeCreation, &timeLastAccess, &timeLastWrite)) {
     return false;
   }
-  return SetFileTime(hTo, &timeCreation, &timeLastAccess, &timeLastWrite);
+  return SetFileTime(hTo, &timeCreation, &timeLastAccess, &timeLastWrite) != 0;
 #else
   struct stat fromStat;
   if (stat(fromFile, &fromStat) < 0) {
@@ -1824,7 +1824,7 @@ bool cmSystemTools::FileTimeSet(const char* fname, 
cmSystemToolsFileTime* t)
     return false;
   }
   return SetFileTime(h, &t->timeCreation, &t->timeLastAccess,
-                     &t->timeLastWrite);
+                     &t->timeLastWrite) != 0;
 #else
   return utime(fname, &t->timeBuf) >= 0;
 #endif

-----------------------------------------------------------------------

Summary of changes:
 Source/cmSystemTools.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to