summaryrefslogtreecommitdiffstats
path: root/src/H5Ocopy.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-25 14:19:17 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-25 14:19:17 (GMT)
commit8cf22df741e227437e9eb3228cb1f0bb6ba9dc1e (patch)
treeee09b41476fd0a1a15578c2e22a2b61f6aef04c3 /src/H5Ocopy.c
parent6039f60159ac821ba0ddf3fa19ce1337e1004f49 (diff)
downloadhdf5-8cf22df741e227437e9eb3228cb1f0bb6ba9dc1e.zip
hdf5-8cf22df741e227437e9eb3228cb1f0bb6ba9dc1e.tar.gz
hdf5-8cf22df741e227437e9eb3228cb1f0bb6ba9dc1e.tar.bz2
[svn-r13197] Fix another bug in H5Ocopy where messages that were deleted and converted
to NULL messages weren't marked as dirty so the destination OH wasn't updated to reflect the change. Tested on Windows, smirom, and kagiso.
Diffstat (limited to 'src/H5Ocopy.c')
-rw-r--r--src/H5Ocopy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Ocopy.c b/src/H5Ocopy.c
index f88e9cf..b7c2d1c 100644
--- a/src/H5Ocopy.c
+++ b/src/H5Ocopy.c
@@ -481,6 +481,7 @@ H5O_copy_header_real(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst /*out */,
if(cpy_info->preserve_null && deleted[mesgno]) {
mesg_dst->type = H5O_MSG_NULL;
mesg_dst->flags = 0;
+ mesg_dst->dirty = 1;
}
/* Check for shared message to operate on */