summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_utils.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-02-08 20:55:17 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-02-08 20:55:17 (GMT)
commit983e9a9e267845c80995898fba2bc7e6ebb0e881 (patch)
tree9969499d2f5dda6de472656b1f439732dab95eb1 /tools/lib/h5tools_utils.c
parent70c0ba03cec20ad3c353fcf776f4b48f2ac8da9f (diff)
downloadhdf5-983e9a9e267845c80995898fba2bc7e6ebb0e881.zip
hdf5-983e9a9e267845c80995898fba2bc7e6ebb0e881.tar.gz
hdf5-983e9a9e267845c80995898fba2bc7e6ebb0e881.tar.bz2
[svn-r9961]
Purpose: bug fix, new test file Description: h5dump was not properly displaying array indices > 3D Solution: added the same algorythm and data structure that h5diff uses to calculate the array index from a element number position Platforms tested: linux solaris Misc. update:
Diffstat (limited to 'tools/lib/h5tools_utils.c')
-rw-r--r--tools/lib/h5tools_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c
index 7a92f9d..e92f972 100644
--- a/tools/lib/h5tools_utils.c
+++ b/tools/lib/h5tools_utils.c
@@ -665,3 +665,4 @@ add_obj(table_t *table, haddr_t objno, char *objname)
free(table->objs[i].objname);
table->objs[i].objname = HDstrdup(objname);
}
+