[Cmake-commits] CMake branch, master, updated. v2.8.4-416-gee9fc4b

KWSys Robot kwrobot at kitware.com
Mon May 9 08:40:06 EDT 2011


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, master has been updated
       via  ee9fc4b1d314d2c1804fec1286d9f317e9ed5a1b (commit)
       via  afa83eb4cfb19f4019e4199f17907d6c27f36cbf (commit)
      from  6aa45ac2eedb4a4bd16892c7a416dc4b029da57f (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=ee9fc4b1d314d2c1804fec1286d9f317e9ed5a1b
commit ee9fc4b1d314d2c1804fec1286d9f317e9ed5a1b
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon May 9 08:36:59 2011 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon May 9 08:40:03 2011 -0400

    KWSys: Fix leaked FILE in EncodeExecutable error case
    
    This leak was detected by cppcheck static analysis.
    
    Author: Hans Johnson <hans-johnson at uiowa.edu>
    Change-Id: I1b81cb245acb9a6033f24ecc8d1452ca4df8371a

diff --git a/Source/kwsys/EncodeExecutable.c b/Source/kwsys/EncodeExecutable.c
index ba474b8..bc30568 100644
--- a/Source/kwsys/EncodeExecutable.c
+++ b/Source/kwsys/EncodeExecutable.c
@@ -41,6 +41,7 @@ int main(int argc, char* argv[])
   if(!ofp)
     {
     fprintf(stderr, "Cannot open output file: \"%s\"\n", argv[2]);
+    fclose(ifp);
     return 2;
     }
   

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=afa83eb4cfb19f4019e4199f17907d6c27f36cbf
commit afa83eb4cfb19f4019e4199f17907d6c27f36cbf
Author:     KWSys Robot <kwrobot at kitware.com>
AuthorDate: Mon May 9 08:36:40 2011 -0400
Commit:     KWSys Robot <kwrobot at kitware.com>
CommitDate: Mon May 9 08:40:03 2011 -0400

    KWSys Nightly Date Stamp

diff --git a/Source/kwsys/kwsysDateStamp.cmake b/Source/kwsys/kwsysDateStamp.cmake
index c38fe66..9d3a823 100644
--- a/Source/kwsys/kwsysDateStamp.cmake
+++ b/Source/kwsys/kwsysDateStamp.cmake
@@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR  2011)
 SET(KWSYS_DATE_STAMP_MONTH 05)
 
 # KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   08)
+SET(KWSYS_DATE_STAMP_DAY   09)

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

Summary of changes:
 Source/kwsys/EncodeExecutable.c   |    1 +
 Source/kwsys/kwsysDateStamp.cmake |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list