summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dump_ddl.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-07-09 19:41:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-07-09 19:41:17 (GMT)
commit17eca872f13fb7e880438dca76f40d371293bc8a (patch)
tree40cc2f0e22be7ebc357ebb2e696e44e7a2f406ae /tools/h5dump/h5dump_ddl.c
parent637df34074604c314cd55a3b0cad733e35255ceb (diff)
downloadhdf5-17eca872f13fb7e880438dca76f40d371293bc8a.zip
hdf5-17eca872f13fb7e880438dca76f40d371293bc8a.tar.gz
hdf5-17eca872f13fb7e880438dca76f40d371293bc8a.tar.bz2
[svn-r22531] HDFFV-5942: sort options with contents option
Added static local variables in h5trav to hold the index_by and index_order values. Defaults are set. H5dump only use of the trav_print function, added two parameters and passed in the sort_by and sort_order variables. Tested: local linux
Diffstat (limited to 'tools/h5dump/h5dump_ddl.c')
-rw-r--r--tools/h5dump/h5dump_ddl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump_ddl.c b/tools/h5dump/h5dump_ddl.c
index 22d2a2b..c0a9884 100644
--- a/tools/h5dump/h5dump_ddl.c
+++ b/tools/h5dump/h5dump_ddl.c
@@ -1294,7 +1294,7 @@ dump_fcontents(hid_t fid)
}
/* print objects in the files */
- h5trav_print(fid);
+ h5trav_print(fid, sort_by, sort_order);
HDfprintf(rawoutstream, " %s\n",END);
}