diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2011-10-13 22:41:56 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2011-10-13 22:41:56 (GMT) |
commit | 682a4f2b5d383d6abf6741a4a5a573f1c67e668e (patch) | |
tree | b3f05c0e95b537d39fc2471b5cbbeedd17b3c337 /src/H5SM.c | |
parent | 309f0b543b70d87cb4dcf6f09df0e81657244a4c (diff) | |
download | hdf5-682a4f2b5d383d6abf6741a4a5a573f1c67e668e.zip hdf5-682a4f2b5d383d6abf6741a4a5a573f1c67e668e.tar.gz hdf5-682a4f2b5d383d6abf6741a4a5a573f1c67e668e.tar.bz2 |
[svn-r21555] The first part fix for bug HDFFV-7640: does not need to do H5O_move_msgs_forward() when writing attributes. h5committested.
Tests are checked into the performance suite.
Diffstat (limited to 'src/H5SM.c')
-rwxr-xr-x | src/H5SM.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -73,7 +73,7 @@ static herr_t H5SM_delete_from_index(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, unsigned *cache_flags, void ** /*out*/ encoded_mesg); static herr_t H5SM_type_to_flag(unsigned type_id, unsigned *type_flag); static herr_t H5SM_read_iter_op(H5O_t *oh, H5O_mesg_t *mesg, unsigned sequence, - hbool_t *oh_modified, void *_udata); + unsigned *oh_modified, void *_udata); static herr_t H5SM_read_mesg_fh_cb(const void *obj, size_t obj_len, void *_udata); static herr_t H5SM_read_mesg(H5F_t *f, const H5SM_sohm_t *mesg, H5HF_t *fheap, H5O_t * open_oh, hid_t dxpl_id, size_t *encoding_size /*out*/, @@ -2154,11 +2154,15 @@ done: * Programmer: James Laird * Wednesday, February 21, 2006 * + * Modifications: + * Vailin Choi; September 2011 + * Change "oh_modified" from boolean to unsigned + * (See H5Oprivate.h for possible flags) *------------------------------------------------------------------------- */ static herr_t H5SM_read_iter_op(H5O_t *oh, H5O_mesg_t *mesg/*in,out*/, unsigned sequence, - hbool_t UNUSED *oh_modified, void *_udata/*in,out*/) + unsigned UNUSED *oh_modified, void *_udata/*in,out*/) { H5SM_read_udata_t *udata = (H5SM_read_udata_t *) _udata; herr_t ret_value = H5_ITER_CONT; |