diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-06-02 02:52:49 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-06-02 02:52:49 (GMT) |
commit | 588c85ee029265e448f9f4171cbb57bde431e526 (patch) | |
tree | ec1f1961281b88b20b0b8afd68c5d010126802b3 /src/H5G.c | |
parent | 063642da28b0336f67a68ade16e00c571f3d0ad7 (diff) | |
download | hdf5-588c85ee029265e448f9f4171cbb57bde431e526.zip hdf5-588c85ee029265e448f9f4171cbb57bde431e526.tar.gz hdf5-588c85ee029265e448f9f4171cbb57bde431e526.tar.bz2 |
[svn-r10842] Purpose:
Code cleanup
Description:
A few more cosmetic changes
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1365,7 +1365,7 @@ done: *------------------------------------------------------------------------- */ static herr_t -H5G_namei(H5G_entry_t *loc_ent, const char *name, const char **rest/*out*/, +H5G_namei(const H5G_entry_t *loc_ent, const char *name, const char **rest/*out*/, H5G_entry_t *grp_ent/*out*/, H5G_entry_t *obj_ent/*out*/, unsigned target, int *nlinks/*out*/, H5G_namei_act_t action, H5G_entry_t *ent, hid_t dxpl_id) @@ -1518,7 +1518,7 @@ H5G_namei(H5G_entry_t *loc_ent, const char *name, const char **rest/*out*/, if(H5G_CACHED_SLINK==obj_ent->type && (0==(target & H5G_TARGET_SLINK) || !last_comp)) { if ((*nlinks)-- <= 0) - HGOTO_ERROR (H5E_SYM, H5E_SLINK, FAIL, "too many symbolic links"); + HGOTO_ERROR (H5E_SYM, H5E_SLINK, FAIL, "too many links"); if (H5G_traverse_slink (grp_ent, obj_ent, nlinks, dxpl_id)<0) HGOTO_ERROR (H5E_SYM, H5E_NOTFOUND, FAIL, "symbolic link traversal failed"); } @@ -1592,7 +1592,7 @@ H5G_traverse_slink (H5G_entry_t *grp_ent/*in,out*/, const H5HL_t *heap; herr_t ret_value=SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI(H5G_traverse_slink, FAIL); + FUNC_ENTER_NOAPI_NOINIT(H5G_traverse_slink); /* Portably initialize the temporary group entry */ HDmemset(&tmp_grp_ent,0,sizeof(H5G_entry_t)); |