diff options
author | Albert Cheng <acheng@hdfgroup.org> | 1998-10-21 05:09:58 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 1998-10-21 05:09:58 (GMT) |
commit | d774cf9daff3f2a09cdfcdc2a1716bebfa3027e0 (patch) | |
tree | e26da135cfbf5b4d186f8265f8034edbe968f6c8 /src/H5S.c | |
parent | ca9639706e25a27c20a5566af1202205b701653f (diff) | |
download | hdf5-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/H5S.c')
-rw-r--r-- | src/H5S.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1668,12 +1668,12 @@ H5Sget_simple_extent_type(hid_t sid) H5S_class_t ret_value = H5S_NO_CLASS; H5S_t *space = NULL; - FUNC_ENTER(H5Sget_simple_extent_type, FAIL); + FUNC_ENTER(H5Sget_simple_extent_type, H5S_NO_CLASS); H5TRACE1("Sc","i",sid); /* Check arguments */ if (H5I_DATASPACE != H5I_get_type(sid) || NULL == (space = H5I_object(sid))) { - HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a dataspace"); + HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, H5S_NO_CLASS, "not a dataspace"); } ret_value=space->extent.type; |