summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-06-17 18:05:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-06-17 18:05:03 (GMT)
commitabce343da8b74b493a03efba0805071ccd99d7c4 (patch)
tree0467b34b3770b0c9b55e1a33d4dba8c8d844a5b7 /src
parent59336d339b0295d2e86946028042a8005c8b589e (diff)
downloadhdf5-abce343da8b74b493a03efba0805071ccd99d7c4.zip
hdf5-abce343da8b74b493a03efba0805071ccd99d7c4.tar.gz
hdf5-abce343da8b74b493a03efba0805071ccd99d7c4.tar.bz2
[svn-r12414] Purpose:
Bug fix Description: Fix bug which could lead to files with incorrect count of messages in the header for an object. The exact sequence of operations is complicated and is described in the release notes. Solution: Mark merged null header messages as dirty. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 (chicago) Mac OS/X (amazon)
Diffstat (limited to 'src')
-rw-r--r--src/H5Ocache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c
index 4cd5760..ae98df7 100644
--- a/src/H5Ocache.c
+++ b/src/H5Ocache.c
@@ -261,6 +261,7 @@ H5O_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED * _udata1,
/* combine adjacent null messages */
mesgno = oh->nmesgs - 1;
oh->mesg[mesgno].raw_size += H5O_SIZEOF_MSGHDR(f) + mesg_size;
+ oh->mesg[mesgno].dirty = TRUE;
merged_null_msgs++;
} else {
/* new message */