summaryrefslogtreecommitdiffstats
path: root/tools/src/h5repack/h5repack.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-05-22 18:10:40 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-05-22 18:10:40 (GMT)
commitcdcef539a3d359c8a7082923b947d920d738cd56 (patch)
tree2a4b151f61674b4cd368922ced09999bfab274c0 /tools/src/h5repack/h5repack.c
parent8861b5a4945b1a35103357b2d4097e1faef6b167 (diff)
downloadhdf5-cdcef539a3d359c8a7082923b947d920d738cd56.zip
hdf5-cdcef539a3d359c8a7082923b947d920d738cd56.tar.gz
hdf5-cdcef539a3d359c8a7082923b947d920d738cd56.tar.bz2
HDFFV-8611 change h5repack to save the root group creation order
Added test and new arguments to control the the input file parsing.
Diffstat (limited to 'tools/src/h5repack/h5repack.c')
-rw-r--r--tools/src/h5repack/h5repack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/src/h5repack/h5repack.c b/tools/src/h5repack/h5repack.c
index 3c9ce90..bc8527b 100644
--- a/tools/src/h5repack/h5repack.c
+++ b/tools/src/h5repack/h5repack.c
@@ -784,6 +784,8 @@ static int check_objects(const char* fname, pack_opt_t *options) {
*-------------------------------------------------------------------------
*/
+ /* Initialize indexing options */
+ h5trav_set_index(sort_by, sort_order);
/* init table */
trav_table_init(&travt);