diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-18 16:32:03 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-18 16:32:03 (GMT) |
commit | 79a96d6a1e2ec8fad2e98ee7fe03474b7be169b6 (patch) | |
tree | e1e9618308bb15e6bcb7ee0239c379c1516660c9 /src/H5Einit.h | |
parent | 4105dfedb98236c9e2029ff14b0694161aabfb05 (diff) | |
download | hdf5-79a96d6a1e2ec8fad2e98ee7fe03474b7be169b6.zip hdf5-79a96d6a1e2ec8fad2e98ee7fe03474b7be169b6.tar.gz hdf5-79a96d6a1e2ec8fad2e98ee7fe03474b7be169b6.tar.bz2 |
[svn-r7380] Purpose:
New error
Description:
Added H5E_CANTCLOSEOBJ error
Platforms tested:
FreeBSD 4.8 (sleipnir)
too minor to need h5committest
Diffstat (limited to 'src/H5Einit.h')
-rw-r--r-- | src/H5Einit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Einit.h b/src/H5Einit.h index 2120ea1..a4b929a 100644 --- a/src/H5Einit.h +++ b/src/H5Einit.h @@ -553,6 +553,11 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't open object"))==NULL) HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed") if((H5E_CANTOPENOBJ_g = H5I_register(H5I_ERROR_MSG, msg))<0) HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message") +assert(H5E_CANTCLOSEOBJ_g==(-1)); +if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't close object"))==NULL) + HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed") +if((H5E_CANTCLOSEOBJ_g = H5I_register(H5I_ERROR_MSG, msg))<0) + HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message") assert(H5E_COMPLEN_g==(-1)); if((msg = H5E_create_msg(cls, H5E_MINOR, "Name component is too long"))==NULL) HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed") |