summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dump.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-01-10 16:24:27 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-01-10 16:24:27 (GMT)
commit2a30e511b9c4f8dbcc5ab82765887f63c9b1184e (patch)
treeef7a2395a605109aab04f0f6c5ce69e3f1725290 /tools/h5dump/h5dump.c
parent50926c2ae9752c69f84d2a2e7503df7bc1ab71b9 (diff)
downloadhdf5-2a30e511b9c4f8dbcc5ab82765887f63c9b1184e.zip
hdf5-2a30e511b9c4f8dbcc5ab82765887f63c9b1184e.tar.gz
hdf5-2a30e511b9c4f8dbcc5ab82765887f63c9b1184e.tar.bz2
[svn-r13132]
Fixed #720 h5dump: improve how region references are displayed. h5dump now uses the new API function H5Rget_name to display the name of the dataset referenced instead of its ID. Added a case to the script test file
Diffstat (limited to 'tools/h5dump/h5dump.c')
-rw-r--r--tools/h5dump/h5dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index 1a61197..8386551 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -158,7 +158,7 @@ static h5tool_format_t dataformat = {
" "H5_PRINTF_HADDR_FMT, /*obj_format */
1, /*dset_hidefileno */
- "DATASET "H5_PRINTF_HADDR_FMT" ", /*dset_format */
+ "DATASET %s ", /*dset_format */
"%s", /*dset_blockformat_pre */
"%s", /*dset_ptformat_pre */
"%s", /*dset_ptformat */
@@ -242,7 +242,7 @@ static h5tool_format_t xml_dataformat = {
" "H5_PRINTF_HADDR_FMT, /*obj_format */
1, /*dset_hidefileno */
- "DATASET "H5_PRINTF_HADDR_FMT" ", /*dset_format */
+ "DATASET %s ", /*dset_format */
"%s", /*dset_blockformat_pre */
"%s", /*dset_ptformat_pre */
"%s", /*dset_ptformat */