diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2003-07-26 02:55:47 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2003-07-26 02:55:47 (GMT) |
commit | 0d22a663df367ada055cb3695186c669e1dd6d5e (patch) | |
tree | 9a3c6588411b63b90ec5d86f65032c0f373eb4e2 /src/H5Fistore.c | |
parent | b4b2b55d33be1c4f1c33aaf58294281a93b7da39 (diff) | |
download | hdf5-0d22a663df367ada055cb3695186c669e1dd6d5e.zip hdf5-0d22a663df367ada055cb3695186c669e1dd6d5e.tar.gz hdf5-0d22a663df367ada055cb3695186c669e1dd6d5e.tar.bz2 |
[svn-r7265] *** empty log message ***
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r-- | src/H5Fistore.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c index d5c2855..3274440 100644 --- a/src/H5Fistore.c +++ b/src/H5Fistore.c @@ -1432,7 +1432,7 @@ H5F_istore_lock(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, udata.mesg = *layout; udata.addr = HADDR_UNDEF; status = H5B_find (f, dxpl_id, H5B_ISTORE, layout->addr, &udata); - H5E_clear (); + H5E_clear(H5E_get_my_stack()); if (status>=0 && H5F_addr_defined(udata.addr)) { size_t chunk_alloc=0; /*allocated chunk size */ @@ -2082,7 +2082,8 @@ H5F_istore_get_addr(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, /* Go get the chunk information */ if (H5B_find (f, dxpl_id, H5B_ISTORE, layout->addr, &udata)<0) { - H5E_clear(); + H5E_clear(H5E_get_my_stack()); + HGOTO_ERROR(H5E_BTREE,H5E_NOTFOUND,HADDR_UNDEF,"Can't locate chunk info"); } /* end if */ |