summaryrefslogtreecommitdiffstats
path: root/src/H5Ocache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-23 15:27:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-23 15:27:28 (GMT)
commit4bc8c3f9240a57ecba8e57d5a88af6f58c25c15c (patch)
tree66535ad56982dbd650e8ad4c4eafb1bb7f8d8dc1 /src/H5Ocache.c
parent599d4141fad83b181d11adb17ca645877706308b (diff)
downloadhdf5-4bc8c3f9240a57ecba8e57d5a88af6f58c25c15c.zip
hdf5-4bc8c3f9240a57ecba8e57d5a88af6f58c25c15c.tar.gz
hdf5-4bc8c3f9240a57ecba8e57d5a88af6f58c25c15c.tar.bz2
[svn-r13178] Description:
Figured out a way to phase in individual message class support for the new shared message "interface", so check that in before working on the message classes themselves. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r--src/H5Ocache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c
index 4309aa0..0970bed 100644
--- a/src/H5Ocache.c
+++ b/src/H5Ocache.c
@@ -169,7 +169,7 @@ H5O_flush_msgs(H5F_t *f, H5O_t *oh)
HDassert(curr_msg->raw_size == H5O_ALIGN_OH(oh, curr_msg->raw_size));
HDassert(curr_msg->raw + curr_msg->raw_size <=
oh->chunk[curr_msg->chunkno].image + (oh->chunk[curr_msg->chunkno].size - H5O_SIZEOF_CHKSUM_OH(oh)));
- if(curr_msg->flags & H5O_MSG_FLAG_SHARED)
+ if((curr_msg->flags & H5O_MSG_FLAG_SHARED) && !H5O_NEW_SHARED(curr_msg->type))
encode = H5O_MSG_SHARED->encode;
else
encode = curr_msg->type->encode;