hdf5/tools/misc
Quincey Koziol 9431c7a97e [svn-r20536] Description:
Clean up various warnings & code formatting issues.

	Bring changes from Coverity branch to trunk:

r20085:
Purpose: Fix coverity issue 793

Description: Modified H5S_hyper_project_simple_higher() to free the entire span
list in new_space on failure.


r20091:
This is a fix for coverity bug #1683.
Changed the two printfs to use %lu (unsigned long) for printing "dset_size".


r20162:
Purpose: Fix coverity issue 785

Description: Modified H5T_enum_nameof() to free "name" on failure if it was
allocated.  Also clarified some code in H5S_hyper_rebuild_helper().


r20189:
Addressed coverity defect 783.

H5SL_new_node() in H5SL.c was failing to free space allocated in its
first alloc if the second alloc failed.  Added a call to H5FL_FREE
to address this issue.

This is purely to keep coverity happy -- if this code is ever triggered,
we have much larger problems.

Note that this fix will trigger an unused return value complaint
from coverity next week.


r20190:
Fixed Coverity issues 1561 1565 and 1678 (UNUSED_VALUES) by moving checks of return values to after the function call.


r20191:
Fixed coverity issues 643 644 and 1678 (CHECKED_RETURN).


r20232:
Addressed coverity issues 923-925.  Replaced calls to sprintf with calls
to HDsnprintf.


r20233:
Fix coverity issue 662.  Don't try to sort 0 attributes in H5Aint.c.


r20234:
Fix coverity issue 664.  Check for NULL before dereferencing in H5Gdeprec.c.


r20271:
Purpose: Fix coverity issue 784

Description: Modified H5_debug_mask() to keep a list of files opened for use as
a debugging output stream, and modified H5_term_library to close these files on
exit.


r20272:
addressed coverity issues 838 & 955.  Issue was use of strcpy() -- existing
code was safe, but modified to use strncpy() to keep coverity happy.


r20273:
Addresed coverity issues 1388 and 1389.
Initialized sel_iter->type to NULL in H5S_select_iter_init.


r20275:
Purpose: Fix valgrind issue in mf.c

Description: Fixed bug (incomplete if statement) in test_mf_fs_alloc_free() so
the retrieved node gets freed.


Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
2011-04-17 13:57:07 -05:00
..
testfiles [svn-r19726] [BZ2072]Add compare output to expected test for help and version options of mkgrp. 2010-11-04 15:51:05 -05:00
CMakeLists.txt [svn-r20372] Separate no option test within ADD_TEST so depends behaves correctly 2011-03-29 12:58:33 -05:00
h5cc.in [svn-r19506] Bring changes from revisions 19408, 19421, and 19442 from branches/hdf5_1_8 to trunk. These revisions reorganize the compile scripts using h5cc.in, h5fc.in, and h5c++.in, add checks for installed examples to the scripts that run them after installation, and add DESTDIR for install as needed for RPMs. 2010-10-04 12:15:30 -05:00
h5debug.c [svn-r19725] Description: 2010-11-04 15:34:29 -05:00
h5mkgrp.c [svn-r19481] I'm backing out my fix for bug 1707 because there're some unresolved issues - r19441 and 19467. 2010-09-27 14:02:48 -05:00
h5redeploy.in [svn-r18057] Bug fix: 1192 2009-12-26 05:12:49 -05:00
h5repart_gentest.c [svn-r18055] Bug fix: 1192 2009-12-26 03:36:37 -05:00
h5repart.c [svn-r18057] Bug fix: 1192 2009-12-26 05:12:49 -05:00
Makefile.am [svn-r17616] Purpose: 2009-10-08 10:17:30 -05:00
Makefile.in [svn-r20504] Purpose: 2011-04-14 16:21:59 -05:00
repart_test.c [svn-r13253] Updated all C and C++ style source code files with the THG copyright notice. 2007-02-07 09:56:24 -05:00
talign.c [svn-r20536] Description: 2011-04-17 13:57:07 -05:00
testh5mkgrp.sh [svn-r19731] Purpose: 2010-11-05 10:14:35 -05:00
testh5repart.sh.in [svn-r18055] Bug fix: 1192 2009-12-26 03:36:37 -05:00