mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r15512] Description:
Fix a few typos introduced in r15510. Tested on: Mac OS X/32 10.5.4 (amazon) More testing upcoming
This commit is contained in:
parent
f8a796ebfc
commit
c6e35f6abd
@ -1283,7 +1283,7 @@ H5Idec_ref(hid_t id)
|
||||
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "invalid ID")
|
||||
|
||||
/* Do actual decrement operation */
|
||||
if((ret_value = H5I_dec_ref(id), TRUE) < 0)
|
||||
if((ret_value = H5I_dec_ref(id, TRUE)) < 0)
|
||||
HGOTO_ERROR(H5E_ATOM, H5E_CANTDEC, FAIL, "can't decrement ID ref count")
|
||||
|
||||
done:
|
||||
@ -1417,7 +1417,7 @@ H5Iinc_ref(hid_t id)
|
||||
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "invalid ID")
|
||||
|
||||
/* Do actual increment operation */
|
||||
if((ret_value = H5I_inc_ref(id), TRUE) < 0)
|
||||
if((ret_value = H5I_inc_ref(id, TRUE)) < 0)
|
||||
HGOTO_ERROR(H5E_ATOM, H5E_CANTINC, FAIL, "can't increment ID ref count")
|
||||
|
||||
done:
|
||||
|
@ -89,7 +89,7 @@ H5_DLL int H5P_fill_value_cmp(const void *value1, const void *value2,
|
||||
|
||||
/* *SPECIAL* Don't make more of these! -QAK */
|
||||
H5_DLL htri_t H5P_isa_class(hid_t plist_id, hid_t pclass_id);
|
||||
H5_DLL void *H5P_object_verify(hid_t plist_id, hid_t pclass_id);
|
||||
H5_DLL H5P_genplist_t *H5P_object_verify(hid_t plist_id, hid_t pclass_id);
|
||||
|
||||
/* Private functions to "peek" at properties of a certain type */
|
||||
H5_DLL unsigned H5P_peek_unsigned(H5P_genplist_t *plist, const char *name);
|
||||
|
@ -268,7 +268,7 @@ H5SM_type_to_flag(unsigned type_id, unsigned *type_flag)
|
||||
/* Fall through... */
|
||||
|
||||
case H5O_SDSPACE_ID:
|
||||
case H5O_DTYPE3_ID:
|
||||
case H5O_DTYPE_ID:
|
||||
case H5O_FILL_NEW_ID:
|
||||
case H5O_PLINE_ID:
|
||||
case H5O_ATTR_ID:
|
||||
|
@ -518,7 +518,7 @@ H5Z_prelude_callback(hid_t dcpl_id, hid_t type_id, H5Z_prelude_type_t prelude_ty
|
||||
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTCREATE, FAIL, "can't create simple dataspace")
|
||||
|
||||
/* Get ID for dataspace to pass to filter routines */
|
||||
if((space_id = H5I_register(H5I_DATASPACE, space, FALE)) < 0) {
|
||||
if((space_id = H5I_register(H5I_DATASPACE, space, FALSE)) < 0) {
|
||||
(void)H5S_close(space);
|
||||
HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to register dataspace ID")
|
||||
} /* end if */
|
||||
|
Loading…
Reference in New Issue
Block a user