diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-09-12 06:03:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-09-12 06:03:58 (GMT) |
commit | 6e9ba2e13dea34945e461cd4acaacc50f46a8405 (patch) | |
tree | a33343679d3fdb30d76d619fb04ffab09e8d5c50 /src/H5A.c | |
parent | bbb67c5ec564c44ecc3bb0d84968e60fdee0790b (diff) | |
download | hdf5-6e9ba2e13dea34945e461cd4acaacc50f46a8405.zip hdf5-6e9ba2e13dea34945e461cd4acaacc50f46a8405.tar.gz hdf5-6e9ba2e13dea34945e461cd4acaacc50f46a8405.tar.bz2 |
[svn-r11385] Purpose:
Code cleanup
Description:
Merge back changes from "compact group" work that improve the
infrastructure of the library and may impact others. In this round of
merging, that includes:
- Move datatype allocation into single internal routine, instead of
duplicated code that was spread out in a dozen or so places.
- Clean up guts of object header routines (H5O_*) to allow for some of
the fancieroperations that need to be performed on groups, along with
some general improvements.
- Added a new error code
- Some minor cleanups in other code....
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4
Mac OS X
Diffstat (limited to 'src/H5A.c')
-rw-r--r-- | src/H5A.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1455,7 +1455,7 @@ H5Adelete(hid_t loc_id, const char *name) HGOTO_ERROR(H5E_ATTR, H5E_NOTFOUND, FAIL, "attribute not found") /* Delete the attribute from the location */ - if ((ret_value=H5O_remove(ent, H5O_ATTR_ID, found, H5AC_dxpl_id)) < 0) + if ((ret_value=H5O_remove(ent, H5O_ATTR_ID, found, TRUE, H5AC_dxpl_id)) < 0) HGOTO_ERROR(H5E_ATTR, H5E_CANTDELETE, FAIL, "unable to delete attribute header message") done: |