From b0024d3f0309c1a90e16b3fd233247c02e7a8b63 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Tue, 27 Nov 2007 13:40:05 -0500 Subject: [svn-r14293] bug fix: the printing of object name was not done when H5Ocopy was used tested: windows, linux --- tools/h5repack/h5repack_copy.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index 6ad97d7..2bcdfd4 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -437,9 +437,6 @@ int do_copy_objects(hid_t fidin, */ case H5TRAV_TYPE_DATASET: - if (options->verbose) - printf(FORMAT_OBJ,"dset",travt->objs[i].name ); - has_filter = 0; /* early detection of references */ @@ -769,6 +766,11 @@ int do_copy_objects(hid_t fidin, if(H5Dclose(dset_out) < 0) goto error; + + if (options->verbose) + printf(FORMAT_OBJ,"dset",travt->objs[i].name ); + + } /* end do we have request for filter/chunking */ @@ -1059,6 +1061,7 @@ static void print_dataset_info(hid_t dcpl_id, char f_objname[256]; /* filter objname */ int i; + strcpy(strfilter,"\0"); /* get information about input filters */ -- cgit v0.12