summaryrefslogtreecommitdiffstats
path: root/src/H5Goh.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-02-03 23:54:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-02-03 23:54:39 (GMT)
commit2a5e92d415fbfd293f306f5f40d9d9a97653e7e4 (patch)
treefbb599aedcd9d88fdf0cfc326597e6936f6b52b8 /src/H5Goh.c
parent29e9825c93f19c1cc0579d46f6dd03718a35a936 (diff)
downloadhdf5-2a5e92d415fbfd293f306f5f40d9d9a97653e7e4.zip
hdf5-2a5e92d415fbfd293f306f5f40d9d9a97653e7e4.tar.gz
hdf5-2a5e92d415fbfd293f306f5f40d9d9a97653e7e4.tar.bz2
[svn-r16415] Description:
Bring r16414 from trunk into 1.8 branch: Eliminate some more calls to H5E_clear_stack() from within library code. Clean up some warnings & comments also. Tested on: Mac OS X/32 10.5.6 (amazon) (Too minor to require h5committest)
Diffstat (limited to 'src/H5Goh.c')
-rw-r--r--src/H5Goh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Goh.c b/src/H5Goh.c
index aa0fbe6..d727cb7 100644
--- a/src/H5Goh.c
+++ b/src/H5Goh.c
@@ -110,9 +110,9 @@ H5O_group_isa(struct H5O_t *oh)
/* Check for any of the messages that indicate a group */
if((stab_exists = H5O_msg_exists_oh(oh, H5O_STAB_ID)) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header")
+ HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header")
if((linfo_exists = H5O_msg_exists_oh(oh, H5O_LINFO_ID)) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header")
+ HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header")
ret_value = (stab_exists > 0 || linfo_exists > 0);
@@ -273,7 +273,7 @@ H5O_group_bh_info(H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5_ih_info_t *bh_info)
/* Check for "new style" group info */
if((exists = H5O_msg_exists_oh(oh, H5O_LINFO_ID)) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header")
+ HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header")
if(exists > 0) {
H5O_linfo_t linfo; /* Link info message */