From 7fbd15fff44a7e7538e67cfcaa1ec68adace64f7 Mon Sep 17 00:00:00 2001 From: Larry Knox Date: Thu, 9 Mar 2023 16:28:30 -0600 Subject: Fix 1.10 new codespell issues (#2521) (#2525) * Fix new codespell issues (#2521) * Fix new codespell issues * Have codespell ignore ./config/sanitizer/sanitizers.cmake * Fix typo in genparser --------- Co-authored-by: Mark Kittisopikul --- .github/workflows/codespell.yml | 4 ++-- bin/genparser | 2 +- config/toolchain/aarch64.cmake | 2 +- configure.ac | 2 +- doxygen/dox/LearnBasics2.dox | 2 +- doxygen/examples/FileFormat.html | 2 +- doxygen/examples/IOFlow.html | 2 +- fortran/src/H5Pf.c | 2 +- fortran/test/tH5O_F03.F90 | 2 +- src/H5FScache.c | 2 +- src/H5PLpath.c | 2 +- src/H5S.c | 2 +- testpar/t_bigio.c | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 168e947..5d9b0b9 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -11,5 +11,5 @@ jobs: - uses: actions/checkout@v3 - uses: codespell-project/actions-codespell@master with: - skip: ./.github/workflows/codespell.yml,./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE,./tools/test/h5repack/testfiles/*.dat,./c++/src/*.html - ignore_words_list: ot,isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,eiter,lastr,ans,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ake,gord,numer,ro,oce,msdos + skip: ./.github/workflows/codespell.yml,./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE,./config/sanitizer/sanitizers.cmake,./tools/test/h5repack/testfiles/*.dat,./c++/src/*.html + ignore_words_list: ot,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,ake,gord,numer,ro,oce,msdos diff --git a/bin/genparser b/bin/genparser index 9ea3152..bb44a91 100755 --- a/bin/genparser +++ b/bin/genparser @@ -21,7 +21,7 @@ # # There is NO dependency in either the autotools or CMake to regenerate # the parser code. If you modify H5LT analyze.l or H5LTparse.y, you -# will need to run this scrpit manually on a system with a suitable +# will need to run this script manually on a system with a suitable # lexer and parser generator. # # IMPORTANT OS X NOTE diff --git a/config/toolchain/aarch64.cmake b/config/toolchain/aarch64.cmake index aa84a74..03f4e5e 100644 --- a/config/toolchain/aarch64.cmake +++ b/config/toolchain/aarch64.cmake @@ -2,7 +2,7 @@ set(TOOLCHAIN_PREFIX aarch64-linux-gnu) set(ANDROID_NDK /opt/android-ndk-linux) set (CMAKE_SYSTEM_NAME Android) set (CMAKE_ANDROID_ARCH_ABI x86_64) -#set (CMAKE_ANDROID_STANDALONE_TOOLCHAIN ${ANDROID_NDK}/build/cmake/andriod.toolchain.cmake) +#set (CMAKE_ANDROID_STANDALONE_TOOLCHAIN ${ANDROID_NDK}/build/cmake/android.toolchain.cmake) set (CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc) set (CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++) #set (CMAKE_RC_COMPILER ${TOOLCHAIN_PREFIX}-windres) diff --git a/configure.ac b/configure.ac index 50984ff..9229101 100644 --- a/configure.ac +++ b/configure.ac @@ -2507,7 +2507,7 @@ AC_ARG_ENABLE([optimization], details. Alternatively, optimization options can be specified directly by specifying them as a - string value. These custom optimzation flags will + string value. These custom optimization flags will completely replace all other optimization flags. [default depends on build mode: debug=debug, production=high, clean=none] diff --git a/doxygen/dox/LearnBasics2.dox b/doxygen/dox/LearnBasics2.dox index ffcb971..6f94c7f 100644 --- a/doxygen/dox/LearnBasics2.dox +++ b/doxygen/dox/LearnBasics2.dox @@ -906,7 +906,7 @@ can be used to obtain information about the selection. The dataset with the region references was read by #H5Dread with the #H5T_STD_REF_DSETREG datatype specified. The read reference can be used to obtain the dataset identifier by calling #H5Rdereference or by obtaining -obtain spacial information (dataspace and selection) with the call to #H5Rget_region. +obtain spatial information (dataspace and selection) with the call to #H5Rget_region. The reference to the dataset region has information for both the dataset itself and its selection. In both functions: \li The first parameter is an identifier of the dataset with the region references. diff --git a/doxygen/examples/FileFormat.html b/doxygen/examples/FileFormat.html index fc35357..133bbc8 100644 --- a/doxygen/examples/FileFormat.html +++ b/doxygen/examples/FileFormat.html @@ -30,7 +30,7 @@ TABLE CAPTION STRONG { font-size: larger }
  • Document's Audience:

      -
    • Current H5 library designers and knowledgable external developers.
    • +
    • Current H5 library designers and knowledgeable external developers.
  • Background Reading:

    diff --git a/doxygen/examples/IOFlow.html b/doxygen/examples/IOFlow.html index 6b2c27e..e890edb 100644 --- a/doxygen/examples/IOFlow.html +++ b/doxygen/examples/IOFlow.html @@ -24,7 +24,7 @@ OL.upperroman { list-style-type: upper-roman }
  • Document's Audience:

      -
    • Current H5 library designers and knowledgable external developers.
    • +
    • Current H5 library designers and knowledgeable external developers.
  • Background Reading:

    diff --git a/fortran/src/H5Pf.c b/fortran/src/H5Pf.c index ee881b8..d9bbad6 100644 --- a/fortran/src/H5Pf.c +++ b/fortran/src/H5Pf.c @@ -1751,7 +1751,7 @@ DONE: * INPUTS * prp_id - property list identifier * OUTPUTS - * nfilters - number of filters defined in the filter pipline + * nfilters - number of filters defined in the filter pipeline * RETURNS * 0 on success, -1 on failure * AUTHOR diff --git a/fortran/test/tH5O_F03.F90 b/fortran/test/tH5O_F03.F90 index fa7b41f..82e535a 100644 --- a/fortran/test/tH5O_F03.F90 +++ b/fortran/test/tH5O_F03.F90 @@ -512,7 +512,7 @@ SUBROUTINE test_obj_visit(total_error) ! Construct "interesting" file to visit CALL build_visit_file(fid) - ! Inialize udata for testing purposes + ! Initialize udata for testing purposes udata%info(1)%path(1:1) ="." udata%info(1)%type_obj = H5O_TYPE_GROUP_F udata%info(2)%path(1:12) = & diff --git a/src/H5FScache.c b/src/H5FScache.c index b6ed25b..b95ccf7 100644 --- a/src/H5FScache.c +++ b/src/H5FScache.c @@ -436,7 +436,7 @@ H5FS__cache_hdr_pre_serialize(H5F_t *f, void *_thing, haddr_t addr, size_t H5_AT * * H5F_addr_defined(fspace->addr) * - * will both be TRUE. If this contition does not hold, then + * will both be TRUE. If this condition does not hold, then * either the free space info is not persistent * (!H5F_addr_defined(fspace->addr)???) or the section info * contains no free space data that must be written to file diff --git a/src/H5PLpath.c b/src/H5PLpath.c index 96bbfa2..fc66448 100644 --- a/src/H5PLpath.c +++ b/src/H5PLpath.c @@ -601,7 +601,7 @@ done: /*------------------------------------------------------------------------- * Function: H5PL__find_plugin_in_path * - * Purpose: Given a path, this function opens the directory and envokes + * Purpose: Given a path, this function opens the directory and invokes * another function to go through all files to find the right * plugin library. Two function definitions are for Unix and * Windows. diff --git a/src/H5S.c b/src/H5S.c index 6195e45..0f9d091 100644 --- a/src/H5S.c +++ b/src/H5S.c @@ -1627,7 +1627,7 @@ H5S_decode(const unsigned char **p) { H5F_t *f = NULL; /* Fake file structure*/ H5S_t *ds; /* Decoded dataspace */ - H5S_extent_t *extent; /* Entent of decoded dataspace */ + H5S_extent_t *extent; /* Extent of decoded dataspace */ const unsigned char *pp = (*p); /* Local pointer for decoding */ size_t extent_size; /* size of the extent message*/ uint8_t sizeof_size; /* 'Size of sizes' for file */ diff --git a/testpar/t_bigio.c b/testpar/t_bigio.c index 50aecf2..146d815 100644 --- a/testpar/t_bigio.c +++ b/testpar/t_bigio.c @@ -1831,7 +1831,7 @@ main(int argc, char **argv) /* Having set the bigio handling to a size that is manageable, * we'll set our 'bigcount' variable to be 2X that limit so * that we try to ensure that our bigio handling is actually - * envoked and tested. + * invoked and tested. */ if (newsize != oldsize) bigcount = newsize * 2; -- cgit v0.12