mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
5b876c929f
Clean up warnings, enable new compiler warning flag(s) and bring back changes from Coverity branch: r20813: Remove the dead code as listed for coverity bug #1722. h5committested. r20814: Issue 69: Check return value and throw error if negative return. Also free datatype id on error r20815: Use HDstrncpy. --gh r20816: Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832. r20817: Use HDstrncpy and HDstrncat. --gh r20818: Purpose: Fix valgrind issues with h5jam Description: Modified h5jam to free strings strdup'd in parse_command_line before exit. Note that they may still not be freed in case of error, due to the widespread use of exit(). r20819: Issue 80: change loop to use int as loop index. r20820: Maintenance: Fixed the bug found by coverity CID 788 There were two problems with this function: 1) it tried to unnecessary free NULL pointer 2) it tried to allocate c_name buffer that is done by H5Pget_class_name Tested on: Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN (too minor to require h5committest) |
||
---|---|---|
.. | ||
errfiles | ||
binread.c | ||
CMakeLists.txt | ||
CMakeTests.cmake | ||
CMakeTestsPBITS.cmake | ||
CMakeTestsXML.cmake | ||
h5dump_ddl.c | ||
h5dump_ddl.h | ||
h5dump_defines.h | ||
h5dump_extern.h | ||
h5dump_xml.c | ||
h5dump_xml.h | ||
h5dump.c | ||
h5dump.h | ||
h5dumpgentest.c | ||
Makefile.am | ||
Makefile.in | ||
testh5dump.sh.in | ||
testh5dumppbits.sh.in | ||
testh5dumpxml.sh.in |