[Cmake-commits] CMake branch, next, updated. v3.2.1-1209-g0cf0944

Brad King brad.king at kitware.com
Tue Mar 24 14:44:25 EDT 2015


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  0cf09443232868edeb25143987f17c39745e71da (commit)
       via  209bf58a6c5938411d2c53f5dbe2f86403a50ecc (commit)
      from  d59d361480e18cb70e9ca64faa57833bae023806 (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0cf09443232868edeb25143987f17c39745e71da
commit 0cf09443232868edeb25143987f17c39745e71da
Merge: d59d361 209bf58
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Mar 24 14:44:24 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Mar 24 14:44:24 2015 -0400

    Merge topic 'file-LOCK-close' into next
    
    209bf58a fixup! cmFileLockUnix: Close file descriptor when releasing a lock


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=209bf58a6c5938411d2c53f5dbe2f86403a50ecc
commit 209bf58a6c5938411d2c53f5dbe2f86403a50ecc
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Mar 24 14:42:31 2015 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Mar 24 14:42:31 2015 -0400

    fixup! cmFileLockUnix: Close file descriptor when releasing a lock

diff --git a/Source/cmFileLockWin32.cxx b/Source/cmFileLockWin32.cxx
index 4691689..dc65948 100644
--- a/Source/cmFileLockWin32.cxx
+++ b/Source/cmFileLockWin32.cxx
@@ -38,6 +38,9 @@ cmFileLockResult cmFileLock::Release()
 
   this->Filename = "";
 
+  CloseHandle(this->File);
+  this->File = INVALID_HANDLE_VALUE;
+
   if (unlockResult)
     {
     return cmFileLockResult::MakeOk();

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

Summary of changes:
 Source/cmFileLockWin32.cxx |    3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list