summaryrefslogtreecommitdiffstats
path: root/src/H5Einit.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-11 14:05:32 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-11 14:05:32 (GMT)
commitfcb67f0e8606781eb01a53da01d539da4b50966c (patch)
tree8f8d93bb10f8f8d03bbc34e2f3edfb7b66ad4296 /src/H5Einit.h
parentd903bca3cf49cb1b29ae886a2ddbab35c77d240b (diff)
downloadhdf5-fcb67f0e8606781eb01a53da01d539da4b50966c.zip
hdf5-fcb67f0e8606781eb01a53da01d539da4b50966c.tar.gz
hdf5-fcb67f0e8606781eb01a53da01d539da4b50966c.tar.bz2
[svn-r10195] Purpose:
New feature Description: Add feature to modify an existing record in a B-tree Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
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 7471494..5f68721 100644
--- a/src/H5Einit.h
+++ b/src/H5Einit.h
@@ -620,6 +620,11 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to list node"))==NULL)
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
if((H5E_CANTLIST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
+assert(H5E_CANTMODIFY_g==(-1));
+if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to modify record"))==NULL)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
+if((H5E_CANTMODIFY_g = H5I_register(H5I_ERROR_MSG, msg))<0)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
/* Argument errors */
assert(H5E_UNINITIALIZED_g==(-1));