summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_refs.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-08-28 19:47:26 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-08-28 19:47:26 (GMT)
commitf384b17625179b29475b2ec836c949fe3b9d5e44 (patch)
tree2adc53784220241216b8ef41697c9e984889575d /tools/h5repack/h5repack_refs.c
parenta4c82ed0491ce7e28079cdde9745b8ddfa9d60bc (diff)
downloadhdf5-f384b17625179b29475b2ec836c949fe3b9d5e44.zip
hdf5-f384b17625179b29475b2ec836c949fe3b9d5e44.tar.gz
hdf5-f384b17625179b29475b2ec836c949fe3b9d5e44.tar.bz2
[svn-r15551] 1) There are 2 new command line parameters for h5repack. Together they allow a call to H5Pset_alignment to be made
-t T, --threshold=T Threshold value for H5Pset_alignment -a A, --alignment=A Alignment value for H5Pset_alignment 2) bug fix the printing of the dataset name was not done for references (verbose mode) tested: windows, linux
Diffstat (limited to 'tools/h5repack/h5repack_refs.c')
-rw-r--r--tools/h5repack/h5repack_refs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack_refs.c b/tools/h5repack/h5repack_refs.c
index 85af317..b0428bf 100644
--- a/tools/h5repack/h5repack_refs.c
+++ b/tools/h5repack/h5repack_refs.c
@@ -192,9 +192,13 @@ int do_copy_refobjs(hid_t fidin,
if(H5Rcreate(&refbuf[u], fidout, refname, H5R_OBJECT, -1) < 0)
goto error;
if(options->verbose)
+ {
+
+ printf(FORMAT_OBJ,"dset",travt->objs[i].name );
printf("object <%s> object reference created to <%s>\n",
travt->objs[i].name,
refname);
+ }
} /*refname*/
H5Oclose(refobj_id);
} /* u */
@@ -271,9 +275,13 @@ int do_copy_refobjs(hid_t fidin,
if(H5Sclose(region_id) < 0)
goto error;
if(options->verbose)
+ {
+
+ printf(FORMAT_OBJ,"dset",travt->objs[i].name );
printf("object <%s> region reference created to <%s>\n",
travt->objs[i].name,
refname);
+ }
} /*refname*/
H5Oclose(refobj_id);
} /* u */