summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-03-01 17:09:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-03-01 17:09:01 (GMT)
commit9612b68b7d2b001a95cc2b48964a6a2fabe9af76 (patch)
tree8c3313456654bf28961362ef61b5a3d6db138df8 /tools/h5repack
parent2804716f648c42d6bd85e1d4a942f7df204c93f2 (diff)
downloadhdf5-9612b68b7d2b001a95cc2b48964a6a2fabe9af76.zip
hdf5-9612b68b7d2b001a95cc2b48964a6a2fabe9af76.tar.gz
hdf5-9612b68b7d2b001a95cc2b48964a6a2fabe9af76.tar.bz2
Fix gif tool and h5dump
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/h5repack_refs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5repack/h5repack_refs.c b/tools/h5repack/h5repack_refs.c
index 6f699fd..e4e9010 100644
--- a/tools/h5repack/h5repack_refs.c
+++ b/tools/h5repack/h5repack_refs.c
@@ -531,8 +531,8 @@ static int copy_refs_attr(hid_t loc_in,
ref_comp_size = NULL;
}
}
- /* This line below needs to be moved in this loop instead of inserting outside. Otherwise,
- ref_comp_field_n may be >0 for the next attribute, which may not be
+ /* This line below needs to be moved in this loop instead of inserting outside. Otherwise,
+ ref_comp_field_n may be >0 for the next attribute, which may not be
the reference type and will be accidently treated as the reference type.
It will then cause the H5Acreate2 failed since that attribute is already created.
KY 2020-02-05
@@ -836,7 +836,7 @@ static herr_t update_ref_value(hid_t obj_id, H5R_type_t ref_type, void *ref_in,
ref_obj_id = H5Rdereference(obj_id, ref_type, ref_in);
if (ref_obj_id < 0)
- H5TOOLS_GOTO_ERROR(FAIL, "H5Rdereference2 failed");
+ H5TOOLS_GOTO_ERROR(FAIL, "H5Rdereference failed");
ref_obj_name = MapIdToName(ref_obj_id, travt);
if (ref_obj_name == NULL)