[cmake-developers] [CMake 0011681]: Check return codes everywhere

Mantis Bug Tracker mantis at public.kitware.com
Tue Jan 11 07:12:12 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=11681 
====================================================================== 
Reported By:                Markus Elfring
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11681
Category:                   Development
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-11 13:12 CET
Last Modified:              2011-01-11 13:12 CET
====================================================================== 
Summary:                    Check return codes everywhere
Description: 
Some checks for return codes are missing.

Examples:
Would you like to add more error handling for return values from "fseek" like in
the member function "SystemTools::FileHasSignature" and from "fprintf" in the
function "cmCoreTryCompile::TryCompileCode"?
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/kwsys/SystemTools.cxx;hb=6754b26bf0bb69ad6d65249bf4122dbbda446922#l3566
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmCoreTryCompile.cxx;hb=72ebd4ee12fc99b5302c18619f120bd9c285b474#l172
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-11 13:12 Markus Elfring New Issue                                    
======================================================================




More information about the cmake-developers mailing list