From e6f16c0ec2f643218b1ba527bb92fc1bb7b2e681 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Wed, 17 Aug 2022 16:31:54 -0700 Subject: Fixes codespell issues (#2032) * Fixes codespell issues * Fixed another typo --- .github/workflows/codespell.yml | 2 +- fortran/src/H5Lff.F90 | 2 +- fortran/src/H5_ff.F90 | 2 +- release_docs/HISTORY-1_10.txt | 4 ++-- release_docs/HISTORY-1_8.txt | 2 +- src/H5HFsection.c | 2 +- src/H5Pdcpl.c | 2 +- src/H5Pfapl.c | 14 +++++++------- test/enum.c | 10 +++++----- test/reserved.c | 2 +- test/th5s.c | 2 +- testpar/t_mdset.c | 2 +- tools/test/perform/overhead.c | 2 +- 13 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index ae9edc2..851277b 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -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 diff --git a/fortran/src/H5Lff.F90 b/fortran/src/H5Lff.F90 index a568824..50d08a8 100644 --- a/fortran/src/H5Lff.F90 +++ b/fortran/src/H5Lff.F90 @@ -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, & diff --git a/fortran/src/H5_ff.F90 b/fortran/src/H5_ff.F90 index 0aa4b04..4c93de9 100644 --- a/fortran/src/H5_ff.F90 +++ b/fortran/src/H5_ff.F90 @@ -913,7 +913,7 @@ CONTAINS ! ! AUTHOR ! M. Scot Breitenfeld -! Augest 25, 2008 +! August 25, 2008 ! ! ACKNOWLEDGEMENTS ! Joe Krahn diff --git a/release_docs/HISTORY-1_10.txt b/release_docs/HISTORY-1_10.txt index 4796ebb..1fc3c60 100644 --- a/release_docs/HISTORY-1_10.txt +++ b/release_docs/HISTORY-1_10.txt @@ -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 diff --git a/release_docs/HISTORY-1_8.txt b/release_docs/HISTORY-1_8.txt index 1e31010..461e0be 100644 --- a/release_docs/HISTORY-1_8.txt +++ b/release_docs/HISTORY-1_8.txt @@ -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) diff --git a/src/H5HFsection.c b/src/H5HFsection.c index de68e3d..16de17f 100644 --- a/src/H5HFsection.c +++ b/src/H5HFsection.c @@ -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; diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c index fc9dd47..60c21b0 100644 --- a/src/H5Pdcpl.c +++ b/src/H5Pdcpl.c @@ -1670,7 +1670,7 @@ done: * Failure: Negative * * Programmer: Neil Fortner - * Thurday, Feb 26, 2015 + * Thursday, Feb 26, 2015 * *-------------------------------------------------------------------------- */ diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c index c8c0736..8afc450 100644 --- a/src/H5Pfapl.c +++ b/src/H5Pfapl.c @@ -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 * *------------------------------------------------------------------------- */ diff --git a/test/enum.c b/test/enum.c index f180f79..d359523 100644 --- a/test/enum.c +++ b/test/enum.c @@ -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 */ diff --git a/test/reserved.c b/test/reserved.c index 22f1764..fb484c8 100644 --- a/test/reserved.c +++ b/test/reserved.c @@ -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) diff --git a/test/th5s.c b/test/th5s.c index a9959ce..8a68db7 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -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"); diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c index a47c748..c720e23 100644 --- a/testpar/t_mdset.c +++ b/testpar/t_mdset.c @@ -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. diff --git a/tools/test/perform/overhead.c b/tools/test/perform/overhead.c index 38c7f0a..8034959 100644 --- a/tools/test/perform/overhead.c +++ b/tools/test/perform/overhead.c @@ -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; -- cgit v0.12