diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-07-12 15:38:44 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-07-12 15:38:44 (GMT) |
commit | b54b3fcf290d532de381e135254dfc343d338d24 (patch) | |
tree | 167a494e2aff12bf3f95229fe72d4e4f00ccffe3 /tools/h5dump/h5dump.c | |
parent | 4bba12dbee46b5ea8a383ec90b42ab98f722d9e1 (diff) | |
download | hdf5-b54b3fcf290d532de381e135254dfc343d338d24.zip hdf5-b54b3fcf290d532de381e135254dfc343d338d24.tar.gz hdf5-b54b3fcf290d532de381e135254dfc343d338d24.tar.bz2 |
[svn-r22563] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created.
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.
Tested: local linux with cmake
Diffstat (limited to 'tools/h5dump/h5dump.c')
-rw-r--r-- | tools/h5dump/h5dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index 1a70d11..cd52743 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -1464,6 +1464,9 @@ main(int argc, const char *argv[]) h5tools_setstatus(EXIT_FAILURE); goto done; } + /* Initialize indexing options */ + h5trav_set_index(sort_by, sort_order); + while(opt_ind < argc) { fname = HDstrdup(argv[opt_ind++]); |