summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-12-26 05:29:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-12-26 05:29:48 (GMT)
commitbaee09d88ace7e8c877ee9d92ed44c9c5ae5eb27 (patch)
treeea40d2f306566f386daebc5b74a31dd8f4a05e48 /src/H5Odtype.c
parentb07ff7319fee1ea86e254074e6171bfa617ebf91 (diff)
downloadhdf5-baee09d88ace7e8c877ee9d92ed44c9c5ae5eb27.zip
hdf5-baee09d88ace7e8c877ee9d92ed44c9c5ae5eb27.tar.gz
hdf5-baee09d88ace7e8c877ee9d92ed44c9c5ae5eb27.tar.bz2
[svn-r11840] Purpose:
Bug fix Description: Retrieving an object's name could fail (in various ways) under certain circumstances (mostly having to do with mounted files). Solution: Re-write & simplify "get object name" code to fix error in a better way than adding yet another hack to the previous pile of hacks... :-) Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index a649970..f6ec861 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -1105,7 +1105,7 @@ H5O_dtype_get_share(H5F_t UNUSED *f, const void *_mesg,
/* If the address is defined, this had better be a named datatype */
HDassert (H5T_STATE_NAMED==dt->shared->state || H5T_STATE_OPEN==dt->shared->state);
- H5G_ent_copy(&(sh->ent), &(dt->ent), H5G_COPY_NULL);
+ H5G_ent_copy(&(sh->ent), &(dt->ent), H5_COPY_NULL);
} else
HGOTO_ERROR (H5E_DATATYPE, H5E_CANTINIT, FAIL, "datatype is not sharable")
@@ -1138,7 +1138,7 @@ H5O_dtype_set_share(H5F_t UNUSED *f, void *_mesg/*in,out*/,
HDassert(sh);
/* NULL copy here, names not appropriate */
- H5G_ent_copy(&(dt->ent), &(sh->ent), H5G_COPY_NULL);
+ H5G_ent_copy(&(dt->ent), &(sh->ent), H5_COPY_NULL);
/* Note that the datatype is a named datatype */
dt->shared->state = H5T_STATE_NAMED;