diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-20 20:51:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-20 20:51:30 (GMT) |
commit | 5560c64e256d3fc064072afbc0e3f14add0bc5a5 (patch) | |
tree | 213f7e15b130c155fb3ebb9ec1cf0a2350eb40c4 /tools/lib/h5tools_str.c | |
parent | c9782c380b9f7b25dd13be7d3533b8be784b85b6 (diff) | |
download | hdf5-5560c64e256d3fc064072afbc0e3f14add0bc5a5.zip hdf5-5560c64e256d3fc064072afbc0e3f14add0bc5a5.tar.gz hdf5-5560c64e256d3fc064072afbc0e3f14add0bc5a5.tar.bz2 |
[svn-r4747] Purpose:
Bug Fix.
Description:
The H5Rget_object_type function could not get the object type for dataset
region references.
Solution:
Added a new function, H5Rget_obj_type, to replace H5Rget_object_type.
The new function requires the reference type as an additional parameter,
in order to allow queries on different reference types to be performed
correctly.
Platforms tested:
FreeBSD 4.4. (sleipnir)
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r-- | tools/lib/h5tools_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index 2bc6305..e75ac3d 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -753,7 +753,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5dump_t *info, hid_t container, if (h5tools_is_zero(vp, H5Tget_size(type))) { h5tools_str_append(str, "NULL"); } else { - otype = H5Rget_object_type(container, vp); + otype = H5Rget_obj_type(container, H5R_OBJECT, vp); obj = H5Rdereference(container, H5R_OBJECT, vp); H5Gget_objinfo(obj, ".", FALSE, &sb); |