summaryrefslogtreecommitdiffstats
path: root/src/H5Gnode.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-10-21 05:09:58 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-10-21 05:09:58 (GMT)
commitd774cf9daff3f2a09cdfcdc2a1716bebfa3027e0 (patch)
treee26da135cfbf5b4d186f8265f8034edbe968f6c8 /src/H5Gnode.c
parentca9639706e25a27c20a5566af1202205b701653f (diff)
downloadhdf5-d774cf9daff3f2a09cdfcdc2a1716bebfa3027e0.zip
hdf5-d774cf9daff3f2a09cdfcdc2a1716bebfa3027e0.tar.gz
hdf5-d774cf9daff3f2a09cdfcdc2a1716bebfa3027e0.tar.bz2
[svn-r770] H5B.c:
Replaced FAIL with H5B_INS_ERROR in routine H5B_remove_helper. Updated code that calls H5B_remove_helper with the proper code. H5Fmpio.c: Removed a typo. H5Gnode.c: Replaced FAIL with H5B_INS_ERROR in routine H5G_node_remove. H5Odtype.c: Put in proper casting to remove compiler warnings. H5S.c: Replaced FAIL with H5S_NO_CLASS in routine H5Sget_simple_extent_type. H5Sselect.c: Fixed couple typos to remove compiler warnings. Platform tested: O2K.
Diffstat (limited to 'src/H5Gnode.c')
-rw-r--r--src/H5Gnode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Gnode.c b/src/H5Gnode.c
index 9002c65..e9b4ac7 100644
--- a/src/H5Gnode.c
+++ b/src/H5Gnode.c
@@ -919,7 +919,7 @@ H5G_node_remove(H5F_t *f, const haddr_t *addr, void *_lt_key/*in,out*/,
idx = (lt+rt)/2;
if (NULL==(s=H5HL_peek(f, &(bt_udata->heap_addr),
sn->entry[idx].name_off))) {
- HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL,
+ HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, H5B_INS_ERROR,
"unable to read symbol name");
}
cmp = HDstrcmp(bt_udata->name, s);
@@ -929,7 +929,7 @@ H5G_node_remove(H5F_t *f, const haddr_t *addr, void *_lt_key/*in,out*/,
lt = idx+1;
}
}
- if (cmp) HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "not found");
+ if (cmp) HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, H5B_INS_ERROR, "not found");
if (H5G_CACHED_SLINK==sn->entry[idx].type) {
/* Remove the symbolic link value */
@@ -944,7 +944,7 @@ H5G_node_remove(H5F_t *f, const haddr_t *addr, void *_lt_key/*in,out*/,
/* Decrement the reference count */
assert(H5F_addr_defined(&(sn->entry[idx].header)));
if (H5O_link(sn->entry+idx, -1)<0) {
- HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL,
+ HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, H5B_INS_ERROR,
"unable to decrement object link count");
}
}