diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-02-09 15:54:44 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-02-09 15:54:44 (GMT) |
commit | 86c18b7e4f2fd322b3571a9050c4eb051027391a (patch) | |
tree | 314568f5c303132a82605ade164897bc0eb88f60 /src/H5T.c | |
parent | e1ef99ed1dbbaa57428cc8cbc8513e6adf6ae5c6 (diff) | |
download | hdf5-86c18b7e4f2fd322b3571a9050c4eb051027391a.zip hdf5-86c18b7e4f2fd322b3571a9050c4eb051027391a.tar.gz hdf5-86c18b7e4f2fd322b3571a9050c4eb051027391a.tar.bz2 |
[svn-r9966] Purpose: Bug fix
Description: H5Tget_member_value didn't return correct value if called after
H5Tenum_valueof. It's because there's a sorting on the members of enum type in
H5Tenum_valueof which changed the order of members.
Solution: Made a copy of original type and do sorting on it to protect the
original order.
Platforms tested: fuss; tested v1.6 with h5committest
Misc. update: RELEASE.txt
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3410,7 +3410,7 @@ H5T_free(H5T_t *dt) /* Close the parent */ if (dt->shared->parent && H5T_close(dt->shared->parent)<0) - HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to close parent data type"); + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTCLOSEOBJ, FAIL, "unable to close parent data type"); done: FUNC_LEAVE_NOAPI(ret_value); |