summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2012-04-05 19:14:38 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2012-04-05 19:14:38 (GMT)
commitdee21e9e82cecc5a15d62e3fec02f3c46eb8231b (patch)
treed3eb67916366552f1dca12afa687951608c1bc68 /src/H5O.c
parent9ac4faa9230bb97c4e3f7c4465c6a55dbde30e14 (diff)
downloadhdf5-dee21e9e82cecc5a15d62e3fec02f3c46eb8231b.zip
hdf5-dee21e9e82cecc5a15d62e3fec02f3c46eb8231b.tar.gz
hdf5-dee21e9e82cecc5a15d62e3fec02f3c46eb8231b.tar.bz2
[svn-r22252] Fixed a bug in H5Ocopy(): When copying an opened object, call the object's
flush class action to ensure that cached data is flushed so that H5Ocopy will get the correct data. (HDFFV-7853) this line, and those below, will be ignored-- _M . M test/objcopy.c M src/H5Ocopy.c M src/H5Goh.c M src/H5Dint.c M src/H5Opkg.h M src/H5Doh.c M src/H5Toh.c M src/H5O.c M src/H5Dpkg.h M release_docs/RELEASE.txt _M fortran
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5O.c b/src/H5O.c
index 234dd68..d3c2766 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -79,12 +79,12 @@ typedef struct {
/********************/
static herr_t H5O_delete_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh);
-static const H5O_obj_class_t *H5O_obj_class(const H5O_loc_t *loc, hid_t dxpl_id);
static herr_t H5O_obj_type_real(H5O_t *oh, H5O_type_t *obj_type);
static herr_t H5O_visit(hid_t loc_id, const char *obj_name, H5_index_t idx_type,
H5_iter_order_t order, H5O_iterate_t op, void *op_data, hid_t lapl_id,
hid_t dxpl_id);
static herr_t H5O_get_hdr_info_real(const H5O_t *oh, H5O_hdr_info_t *hdr);
+static const H5O_obj_class_t *H5O_obj_class_real(H5O_t *oh);
/*********************/
@@ -2357,7 +2357,7 @@ H5O_obj_type_real(H5O_t *oh, H5O_type_t *obj_type)
*
*-------------------------------------------------------------------------
*/
-static const H5O_obj_class_t *
+const H5O_obj_class_t *
H5O_obj_class(const H5O_loc_t *loc, hid_t dxpl_id)
{
H5O_t *oh = NULL; /* Object header for location */
@@ -2394,7 +2394,7 @@ done:
*
*-------------------------------------------------------------------------
*/
-const H5O_obj_class_t *
+static const H5O_obj_class_t *
H5O_obj_class_real(H5O_t *oh)
{
size_t i; /* Local index variable */