Fixes codespell issues (#2032)

* Fixes codespell issues

* Fixed another typo
This commit is contained in:
Dana Robinson 2022-08-17 16:31:54 -07:00 committed by GitHub
parent 9304f277e8
commit e6f16c0ec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 24 additions and 24 deletions

View File

@ -11,5 +11,5 @@ jobs:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c
skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE
ignore_words_list: isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,ans,isn't,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ake,gord,numer,ro,oce

View File

@ -1418,7 +1418,7 @@ CONTAINS
!
! AUTHOR
! M. Scot Breitenfeld
! Augest 18, 2008
! August 18, 2008
!
! Fortran2003 Interface:
SUBROUTINE h5literate_by_name_f(loc_id, group_name, index_type, order, &

View File

@ -913,7 +913,7 @@ CONTAINS
!
! AUTHOR
! M. Scot Breitenfeld
! Augest 25, 2008
! August 25, 2008
!
! ACKNOWLEDGEMENTS
! Joe Krahn

View File

@ -1436,7 +1436,7 @@ Known Problems
e.g. within a single parallel test (testphdf5) the subtests (cdsetr, eidsetr)
report data verification errors before eventually aborting.
The most recent versions of OpenMPI (v3.1.3 or newer) have evidently
resolved these isses and parallel HDF5 testing does not currently report
resolved these issues and parallel HDF5 testing does not currently report
errors though occasional hangs have been observed.
Known problems in previous releases can be found in the HISTORY*.txt files
@ -2139,7 +2139,7 @@ Known Problems
e.g. within a single parallel test (testphdf5) the subtests (cdsetr, eidsetr)
report data verification errors before eventually aborting.
The most recent versions of OpenMPI (v3.1.3 or newer) have evidently
resolved these isses and parallel HDF5 testing does not currently report
resolved these issues and parallel HDF5 testing does not currently report
errors though occasional hangs have been observed.
Known problems in previous releases can be found in the HISTORY*.txt files

View File

@ -1266,7 +1266,7 @@ New Features
(BMR, 2017/05/13, HDFFV-10004, HDFFV-10156)
- New class LinkAccPropList is added for link access proprety list
- New class LinkAccPropList is added for link access property list
(BMR, 2017/05/13, HDFFV-10156)

View File

@ -2292,7 +2292,7 @@ H5HF__sect_indirect_for_row(H5HF_hdr_t *hdr, H5HF_indirect_t *iblock, H5HF_free_
(sect->u.indirect.dir_rows = (H5HF_free_section_t **)H5MM_malloc(sizeof(H5HF_free_section_t *))))
HGOTO_ERROR(H5E_HEAP, H5E_NOSPACE, NULL, "allocation failed for row section pointer array")
/* Atatch the new row section to indirect section */
/* Attach the new row section to indirect section */
sect->u.indirect.dir_rows[0] = row_sect;
sect->u.indirect.rc = 1;

View File

@ -1670,7 +1670,7 @@ done:
* Failure: Negative
*
* Programmer: Neil Fortner
* Thurday, Feb 26, 2015
* Thursday, Feb 26, 2015
*
*--------------------------------------------------------------------------
*/

View File

@ -3116,7 +3116,7 @@ done:
* Return: Non-negative on success/Negative on failure
*
* Programmer: Jacob Gruber
* Thurday, August 11, 2011
* Thursday, August 11, 2011
*
*-------------------------------------------------------------------------
*/
@ -3213,7 +3213,7 @@ done:
* Return: Non-negative on success/Negative on failure
*
* Programmer: Jacob Gruber
* Thurday, August 11, 2011
* Thursday, August 11, 2011
*
*-------------------------------------------------------------------------
*/
@ -3288,7 +3288,7 @@ done:
* Return: Non-negative on success/Negative on failure
*
* Programmer: Jacob Gruber
* Thurday, August 11, 2011
* Thursday, August 11, 2011
*
*-------------------------------------------------------------------------
*/
@ -3364,7 +3364,7 @@ done:
* Return: Non-negative on success/Negative on failure
*
* Programmer: Jacob Gruber
* Thurday, August 11, 2011
* Thursday, August 11, 2011
*
*-------------------------------------------------------------------------
*/
@ -3766,7 +3766,7 @@ done:
* Return: Non-negative on success/Negative on failure
*
* Programmer: Jacob Gruber
* Thurday, August 11, 2011
* Thursday, August 11, 2011
*
*-------------------------------------------------------------------------
*/
@ -3796,7 +3796,7 @@ done:
* Return: Non-negative on success/Negative on failure
*
* Programmer: Jacob Gruber
* Thurday, August 11, 2011
* Thursday, August 11, 2011
*
*-------------------------------------------------------------------------
*/
@ -3895,7 +3895,7 @@ done:
* Return: Non-negative on success/Negative on failure
*
* Programmer: Jacob Gruber
* Thurday, August 11, 2011
* Thursday, August 11, 2011
*
*-------------------------------------------------------------------------
*/

View File

@ -541,7 +541,7 @@ test_value_dsnt_exist(void)
hid_t datatype_id = (-1); /* identifiers */
int val;
char nam[100];
char name[100];
size_t size = 100;
TESTING("for non-existing name and value");
/* Turn off error reporting since we expect failure in this test */
@ -556,7 +556,7 @@ test_value_dsnt_exist(void)
if (H5Tenum_valueof(datatype_id, "SAX", &val) >= 0)
goto error;
val = 3;
if (H5Tenum_nameof(datatype_id, &val, nam, size) >= 0)
if (H5Tenum_nameof(datatype_id, &val, name, size) >= 0)
goto error;
val = 2;
@ -571,17 +571,17 @@ test_value_dsnt_exist(void)
/* This call should fail since we did not create a member with value = 3*/
val = 3;
if (H5Tenum_nameof(datatype_id, &val, nam, size) >= 0)
if (H5Tenum_nameof(datatype_id, &val, name, size) >= 0)
goto error;
/* This call should fail since we did not create a member with value = 11*/
val = 11;
if (H5Tenum_nameof(datatype_id, &val, nam, size) >= 0)
if (H5Tenum_nameof(datatype_id, &val, name, size) >= 0)
goto error;
/* This call should fail since we did not create a member with value = 0*/
val = 0;
if (H5Tenum_nameof(datatype_id, &val, nam, size) >= 0)
if (H5Tenum_nameof(datatype_id, &val, name, size) >= 0)
goto error;
/* This call should fail since we do not have SAX name in the type */

View File

@ -479,7 +479,7 @@ error:
int
main(void)
{
/* This test is currently not working properly; it should be revisted
/* This test is currently not working properly; it should be revisited
* when we have time.
*
* (Also, we should try to make this test work with all the VFDs)

View File

@ -1108,7 +1108,7 @@ test_h5s_zero_dim(void)
dset1 = H5Dopen2(fid1, BASICDATASET1, H5P_DEFAULT);
CHECK(dset1, FAIL, "H5Dopen2");
/* Get the space of the dataset and querry it */
/* Get the space of the dataset and query it */
sid1 = H5Dget_space(dset1);
CHECK(sid1, FAIL, "H5Dget_space");

View File

@ -2066,7 +2066,7 @@ rr_obj_hdr_flush_confusion_writer(MPI_Comm comm)
* flush the metadata cache yet again to clean the object headers.
*
* This is an attempt to create a situation where we have dirty
* object header continuation chunks, but clean opject headers
* object header continuation chunks, but clean object headers
* to verify a speculative bug fix -- it doesn't seem to work,
* but I will leave the code in anyway, as the object header
* code is going to change a lot in the near future.

View File

@ -176,7 +176,7 @@ test(fill_t fill_style, const double splits[], hbool_t verbose, hbool_t use_rdcc
hsize_t hs_count[1] = {1}; /*hyperslab nelmts */
int fd = (-1); /*h5 file direct */
int *had = NULL; /*for random filling */
const char *sname = NULL; /*fill style nam */
const char *sname = NULL; /*fill style name */
int mdc_nelmts; /*num meta objs to cache*/
hsize_t i, k;
int j;