summaryrefslogtreecommitdiffstats
path: root/src/H5Einit.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-03-22 18:46:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-03-22 18:46:08 (GMT)
commit6c8a082596dec312ba47fe74a41e05d23729277d (patch)
treeefa4357e66fe137e1e9f170e1c61e312414f2a0e /src/H5Einit.h
parent4b703ef698a5242c9cd4d3181b28d8f0acb5e786 (diff)
downloadhdf5-6c8a082596dec312ba47fe74a41e05d23729277d.zip
hdf5-6c8a082596dec312ba47fe74a41e05d23729277d.tar.gz
hdf5-6c8a082596dec312ba47fe74a41e05d23729277d.tar.bz2
[svn-r12131] Purpose:
Code update Description: Add new minor error, for heap metadata operations. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 (chicago) Mac OSX (amazon)
Diffstat (limited to 'src/H5Einit.h')
-rw-r--r--src/H5Einit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Einit.h b/src/H5Einit.h
index 0fc0204..1b28419 100644
--- a/src/H5Einit.h
+++ b/src/H5Einit.h
@@ -551,6 +551,11 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to unprotect metadata"))==NULL)
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
if((H5E_CANTUNPROTECT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
+assert(H5E_CANTDIRTY_g==(-1));
+if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to mark metadata as dirty"))==NULL)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
+if((H5E_CANTDIRTY_g = H5I_register(H5I_ERROR_MSG, msg))<0)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
/* Parallel MPI errors */
assert(H5E_MPI_g==(-1));