summaryrefslogtreecommitdiffstats
path: root/src/H5Opkg.h
diff options
context:
space:
mode:
authorPeter Cao <xcao@hdfgroup.org>2007-05-30 21:35:57 (GMT)
committerPeter Cao <xcao@hdfgroup.org>2007-05-30 21:35:57 (GMT)
commit461b896779cb585cf47236cdcfc271a98d3ca080 (patch)
tree9ad39b91c1b22826d0281ea8d916abaac5f03b5f /src/H5Opkg.h
parent7afc8fc6ebaaedf4d077b8ca1558e6bac8afc373 (diff)
downloadhdf5-461b896779cb585cf47236cdcfc271a98d3ca080.zip
hdf5-461b896779cb585cf47236cdcfc271a98d3ca080.tar.gz
hdf5-461b896779cb585cf47236cdcfc271a98d3ca080.tar.bz2
[svn-r13821]
Fixed a bug at copying shared reg_ref attribute. The ref values of an attribute was not writen in file. The post_copy_file() at H5Oattr.c only updates the value in memory. To fix the problem, we added H5O_shared_post_copy_file(), which delete the attribute in file (with the incorrect value) and create an new attribute with the correct values. I added the following functions: H5Oshared.c:H5O_shared_post_copy_file(H5F_t *f, hid_t dxpl_id, H5O_t *oh, void *mesg); H5Oshared.h: H5O_SHARED_POST_COPY_FILE and modified the following files to include shared_post_copy_file() H5Oattr.c H5Odtype.c H5Ofill.c H5Opline.c H5Osdspace.c
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r--src/H5Opkg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h
index 83dc647..fb17c0c 100644
--- a/src/H5Opkg.h
+++ b/src/H5Opkg.h
@@ -498,6 +498,7 @@ H5_DLL herr_t H5O_shared_link(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
H5_DLL herr_t H5O_shared_copy_file(H5F_t *file_src, H5F_t *file_dst,
const H5O_msg_class_t *mesg_type, const void *_native_src, void *_native_dst,
hbool_t *recompute_size, H5O_copy_t *cpy_info, void *udata, hid_t dxpl_id);
+H5_DLL herr_t H5O_shared_post_copy_file (H5F_t *f, hid_t dxpl_id, H5O_t *oh, void *mesg);
H5_DLL herr_t H5O_shared_debug(const H5O_shared_t *mesg, FILE *stream,
int indent, int fwidth);