Skip to content

Commit

Permalink
Typos in fapl, gcpl, lapl
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala committed May 29, 2024
1 parent dbb674b commit 91782c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions src/H5Pfapl.c
Original file line number Diff line number Diff line change
Expand Up @@ -4976,7 +4976,9 @@ H5Pget_file_locking(hid_t fapl_id, hbool_t *use_file_locking /*out*/, hbool_t *i
/*-------------------------------------------------------------------------
* Function: H5P__encode_coll_md_read_flag_t
*
* Purpose: Generic encoding callback routine for 'coll_md_read_flag' properties.
* Purpose: Callback routine which is called whenever the collective
* metadata read flag property in the file creation property list is
* encoded.
*
* Return: Success: Non-negative
* Failure: Negative
Expand Down Expand Up @@ -5010,7 +5012,9 @@ H5P__encode_coll_md_read_flag_t(const void *value, void **_pp, size_t *size)
/*-------------------------------------------------------------------------
* Function: H5P__decode_coll_md_read_flag_t
*
* Purpose: Generic decoding callback routine for 'coll_md_read_flag' properties.
* Purpose: Callback routine which is called whenever the collective
* metadata read flag property in the file creation property list is
* decoded.
*
* Return: Success: Non-negative
* Failure: Negative
Expand All @@ -5030,7 +5034,7 @@ H5P__decode_coll_md_read_flag_t(const void **_pp, void *_value)
assert(*pp);
assert(coll_md_read_flag);

/* Decode file close degree */
/* Decode metdata read flag */

Check failure on line 5037 in src/H5Pfapl.c

View workflow job for this annotation

GitHub Actions / Check for spelling errors

metdata ==> metadata
*coll_md_read_flag = (H5P_coll_md_read_flag_t) * (*pp);
*pp += sizeof(H5P_coll_md_read_flag_t);

Expand Down
4 changes: 2 additions & 2 deletions src/H5Pgcpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ H5Pget_link_creation_order(hid_t plist_id, unsigned *crt_order_flags /*out*/)
* Function: H5P__gcrt_group_info_enc
*
* Purpose: Callback routine which is called whenever the group
* property in the dataset access property list is
* info property in the dataset access property list is
* encoded.
*
* Return: Success: Non-negative
Expand Down Expand Up @@ -564,7 +564,7 @@ H5P__gcrt_group_info_dec(const void **_pp, void *_value)
* Function: H5P__gcrt_link_info_enc
*
* Purpose: Callback routine which is called whenever the link
* property in the dataset access property list is
* info property in the dataset access property list is
* encoded.
*
* Return: Success: Non-negative
Expand Down
2 changes: 1 addition & 1 deletion src/H5Plapl.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ H5P__lacc_elink_pref_get(hid_t H5_ATTR_UNUSED prop_id, const char H5_ATTR_UNUSED
/*-------------------------------------------------------------------------
* Function: H5P__lacc_elink_pref_enc
*
* Purpose: Callback routine which is called whenever the elink flags
* Purpose: Callback routine which is called whenever the elink prefix
* property in the dataset access property list is
* encoded.
*
Expand Down

0 comments on commit 91782c0

Please sign in to comment.