summaryrefslogtreecommitdiffstats
path: root/src/H5Tcommit.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-09 04:24:00 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-09 04:24:00 (GMT)
commitee6036e0321ecbb5c4b87fa4fd01942360fbbd18 (patch)
tree7db1dc244e4d9e43d9bf593be7670afcf9d58477 /src/H5Tcommit.c
parent2104bd1e0a85c01a871910803883637f48ac2573 (diff)
downloadhdf5-ee6036e0321ecbb5c4b87fa4fd01942360fbbd18.zip
hdf5-ee6036e0321ecbb5c4b87fa4fd01942360fbbd18.tar.gz
hdf5-ee6036e0321ecbb5c4b87fa4fd01942360fbbd18.tar.bz2
[svn-r13123] Description:
Fix object header message code to respect the "do not share" flag, so that committed datatypes used in attributes are handled properly. Add more tests for atttributes, checking that they handle shared attributes in compact & dense storage w/committed datatypes. Tested on: FreeBSD/32 6.1 (duty)
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r--src/H5Tcommit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c
index 6ed7856..d8fbe3b 100644
--- a/src/H5Tcommit.c
+++ b/src/H5Tcommit.c
@@ -304,7 +304,7 @@ H5T_commit(H5F_t *file, H5T_t *type, hid_t dxpl_id, hid_t tcpl_id, hid_t UNUSED
/* Mark datatype as being on memory now. Since this datatype may still be used in memory
* after committed to disk, change its size back as in memory. */
- if(H5T_set_loc(type, NULL, H5T_LOC_MEMORY)<0)
+ if(H5T_set_loc(type, NULL, H5T_LOC_MEMORY) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "cannot mark datatype in memory")
done:
@@ -783,7 +783,7 @@ H5T_open_oid(H5G_loc_t *loc, hid_t dxpl_id)
H5T_t *dt = NULL;
H5T_t *ret_value;
- FUNC_ENTER_NOAPI(H5T_open_oid, NULL)
+ FUNC_ENTER_NOAPI_NOINIT(H5T_open_oid)
HDassert(loc);