summaryrefslogtreecommitdiffstats
path: root/src/H5Tcommit.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-29 20:14:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-29 20:14:20 (GMT)
commitfc57c3b8404e3410dd2b2e09ef3abf78a6fa8b25 (patch)
tree82bc24681bc776e7b184905d7aeba222352d02ac /src/H5Tcommit.c
parentce05f32a3d33fad5401b6d1d291676771fc300dd (diff)
downloadhdf5-fc57c3b8404e3410dd2b2e09ef3abf78a6fa8b25.zip
hdf5-fc57c3b8404e3410dd2b2e09ef3abf78a6fa8b25.tar.gz
hdf5-fc57c3b8404e3410dd2b2e09ef3abf78a6fa8b25.tar.bz2
[svn-r12997] Description:
Rename too generic "H5O_FLAG_<foo>" flags that are used as flags for header messages to "H5O_MSG_FLAG_<foo>", in order to make their use clearer. Tested on: FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) Linux/64 2.4 (mir)
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r--src/H5Tcommit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c
index 4a46b9d..025aca3 100644
--- a/src/H5Tcommit.c
+++ b/src/H5Tcommit.c
@@ -281,7 +281,7 @@ H5T_commit(H5F_t *file, H5T_t *type, hid_t dxpl_id, hid_t tcpl_id, hid_t UNUSED
*/
if(H5O_create(file, dxpl_id, dtype_size, tcpl_id, &temp_oloc) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to create datatype object header")
- if(H5O_modify(&temp_oloc, H5O_DTYPE_ID, 0, H5O_FLAG_CONSTANT | H5O_FLAG_DONTSOHM, H5O_UPDATE_TIME, type, dxpl_id) < 0)
+ if(H5O_modify(&temp_oloc, H5O_DTYPE_ID, 0, H5O_MSG_FLAG_CONSTANT | H5O_MSG_FLAG_DONTSOHM, H5O_UPDATE_TIME, type, dxpl_id) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to update type header message")
/* Copy the new object header's location into the datatype, taking ownership of it */