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 <[email protected]>
AuthorDate: Tue Mar 24 14:44:24 2015 -0400
Commit:     CMake Topic Stage <[email protected]>
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 <[email protected]>
AuthorDate: Tue Mar 24 14:42:31 2015 -0400
Commit:     Brad King <[email protected]>
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
_______________________________________________
Cmake-commits mailing list
[email protected]
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to