summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-27 18:40:05 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-27 18:40:05 (GMT)
commitb0024d3f0309c1a90e16b3fd233247c02e7a8b63 (patch)
tree9158312c126df4560de47c884c697febb7603401
parentb22add1585c85a2f9e4b01d9a22dbb6d21fbbbd5 (diff)
downloadhdf5-b0024d3f0309c1a90e16b3fd233247c02e7a8b63.zip
hdf5-b0024d3f0309c1a90e16b3fd233247c02e7a8b63.tar.gz
hdf5-b0024d3f0309c1a90e16b3fd233247c02e7a8b63.tar.bz2
[svn-r14293] bug fix: the printing of object name was not done when H5Ocopy was used
tested: windows, linux
-rw-r--r--tools/h5repack/h5repack_copy.c9
1 files 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 */