Commits
cholee committed 6bb0182c23a
REFERENCE_LIST was not updated correctly. h4toh5 increases the size of REFERENCE_LIST attribute as a dimensional scale is referred to by more datasets. Since the length is fixed, the current implementation removes an existing REFERENCE_LIST attribute (H5Adelete) and create a new REFERENCE_LIST attribute with one more element (H5Acreate). Before calling H5Adelete(), H5Aclose() has not been called, and it resulted in incorrect attribute: elements were omitted. This implementation is a violation of H5Adelete() specification, and this modification fixes it by calling H5Aclose() before calling H5Adelete().