summaryrefslogtreecommitdiffstats
path: root/src/H5Ocache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-23 19:08:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-23 19:08:31 (GMT)
commitdc02b5bd22b61c52a6947f338691bc801baf1b91 (patch)
tree77013d8dc9fd43a3ddf3dfe88fe8f09fbe0b5ed0 /src/H5Ocache.c
parent59eccdaf699634dfb16419200549268623ac4e9b (diff)
downloadhdf5-dc02b5bd22b61c52a6947f338691bc801baf1b91.zip
hdf5-dc02b5bd22b61c52a6947f338691bc801baf1b91.tar.gz
hdf5-dc02b5bd22b61c52a6947f338691bc801baf1b91.tar.bz2
[svn-r13182] Description:
Move filter pipeline message class to new "shared message interface" regime, along with minor fixups to implementation of calling that interface. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
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 0970bed..02c8975 100644
--- a/src/H5Ocache.c
+++ b/src/H5Ocache.c
@@ -175,7 +175,7 @@ H5O_flush_msgs(H5F_t *f, H5O_t *oh)
encode = curr_msg->type->encode;
#ifndef NDEBUG
/* Sanity check that the message won't overwrite past it's allocated space */
-if(!(curr_msg->flags & H5O_MSG_FLAG_SHARED)) {
+if(!(curr_msg->flags & H5O_MSG_FLAG_SHARED) && !H5O_NEW_SHARED(curr_msg->type)) {
size_t msg_size;
msg_size = curr_msg->type->raw_size(f, curr_msg->native);