summaryrefslogtreecommitdiffstats
path: root/src/H5Oattribute.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2011-10-20 22:20:00 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2011-10-20 22:20:00 (GMT)
commitc36a79fd91206a67cc159e6881cb1b9fce2d2b83 (patch)
tree3733581c711178e6cd0f23ee0fdfa9959e1896f5 /src/H5Oattribute.c
parentfd619754ac6c01025528e878497aae032b9a5b78 (diff)
downloadhdf5-c36a79fd91206a67cc159e6881cb1b9fce2d2b83.zip
hdf5-c36a79fd91206a67cc159e6881cb1b9fce2d2b83.tar.gz
hdf5-c36a79fd91206a67cc159e6881cb1b9fce2d2b83.tar.bz2
[svn-r21631] Port revisions 21629 and 21630 to 1.8 branch
Purpose: Update fix committed in r21556 Description: An old patch was mistakenly committed in r21556. Replaced this fix with the latest. Tested: jam, koala, heiwa (h5committest)
Diffstat (limited to 'src/H5Oattribute.c')
-rw-r--r--src/H5Oattribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oattribute.c b/src/H5Oattribute.c
index a5facbc..e3a3973 100644
--- a/src/H5Oattribute.c
+++ b/src/H5Oattribute.c
@@ -796,7 +796,7 @@ H5O_attr_update_shared(H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5A_t *attr,
/* Store new version of message as a SOHM */
/* (should always work, since we're not changing the size of the attribute) */
- if((shared_mesg = H5SM_try_share(f, dxpl_id, oh, FALSE, H5O_ATTR_ID, attr, NULL)) == 0)
+ if((shared_mesg = H5SM_try_share(f, dxpl_id, oh, 0, H5O_ATTR_ID, attr, NULL)) == 0)
HGOTO_ERROR(H5E_ATTR, H5E_BADMESG, FAIL, "attribute changed sharing status")
else if(shared_mesg < 0)
HGOTO_ERROR(H5E_ATTR, H5E_BADMESG, FAIL, "can't share attribute")