[svn-r19254] Description:

Bring r19252 & 19253 from trunk to 1.8 branch:

   Bring Coverity changes from branch to trunk:


r19161:
Fixed the part for matching the subset info with dataset

r19189:
BZ1646: h5dump does not check number of dimensions for subsetting parameters against the dataset

Changed subset_t structure from holding hsize_t pointers to holding new subset_d pointers, which hold the original hsize_t pointer + len. this len is then checked against dataset ndims in the handle_dataset function of h5dump.

Changed all references to use new data structure.

Added tests for each subset parameter.

r19190:
Added new h5dump ddl files

Tested on:
    Mac OS X/32 10.6.4 (amazon) w/debug & production
    (h5committested on Coverity branch)
This commit is contained in:
Quincey Koziol
2010-08-19 16:16:28 -05:00
parent d221d97f99
commit 525caddd9e
30 changed files with 522 additions and 474 deletions

View File

@@ -170,7 +170,7 @@ void parse_command_line(int argc,
/* check for file names to be processed */
if (argc <= opt_ind || argv[ opt_ind + 1 ] == NULL)
{
error_msg(h5tools_getprogname(), "missing file names\n");
error_msg("missing file names\n");
usage();
h5diff_exit(EXIT_FAILURE);
}