summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2023-03-10 15:52:06 (GMT)
committerGitHub <noreply@github.com>2023-03-10 15:52:06 (GMT)
commitc420176d4791bec62336ea4ba25bcec3475a64bb (patch)
tree55bca1716869070d6fa601bec57b1c68d4a94fa7
parent91cf10156a65a96860cea965df74a5adecf3e4e8 (diff)
downloadhdf5-c420176d4791bec62336ea4ba25bcec3475a64bb.zip
hdf5-c420176d4791bec62336ea4ba25bcec3475a64bb.tar.gz
hdf5-c420176d4791bec62336ea4ba25bcec3475a64bb.tar.bz2
Fix new codespell issues (#2521) (#2530)
* 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 <mkitti@users.noreply.github.com>
-rw-r--r--.github/workflows/codespell.yml4
-rwxr-xr-xbin/genparser2
-rw-r--r--config/toolchain/aarch64.cmake2
-rw-r--r--configure.ac2
-rw-r--r--doxygen/dox/LearnBasics2.dox2
-rw-r--r--doxygen/examples/FileFormat.html2
-rw-r--r--doxygen/examples/IOFlow.html2
-rw-r--r--fortran/src/H5Pf.c2
-rw-r--r--fortran/test/tH5O_F03.F902
-rw-r--r--src/H5FScache.c2
-rw-r--r--src/H5PLpath.c2
-rw-r--r--src/H5S.c2
-rw-r--r--testpar/t_bigio.c2
13 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
index 1bd7ebc..3ceda82 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: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE,./tools/test/h5repack/testfiles/*.dat
- 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,ro,oce,ot,msdos
+ skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE,./config/sanitizer/sanitizers.cmake,./tools/test/h5repack/testfiles/*.dat
+ 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,ake,gord,numer,ro,oce,ot,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 68d573d..6379b41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2566,7 +2566,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.</li>
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 }
<li><h3><u>Document's Audience:</u></h3>
<ul>
- <li>Current H5 library designers and knowledgable external developers.</li>
+ <li>Current H5 library designers and knowledgeable external developers.</li>
</ul>
</li><li><h3><u>Background Reading:</u></h3>
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 }
<li><h3><u>Document's Audience:</u></h3>
<ul>
- <li>Current H5 library designers and knowledgable external developers.</li>
+ <li>Current H5 library designers and knowledgeable external developers.</li>
</ul>
</li><li><h3><u>Background Reading:</u></h3>
diff --git a/fortran/src/H5Pf.c b/fortran/src/H5Pf.c
index 876457f..77d5cd0 100644
--- a/fortran/src/H5Pf.c
+++ b/fortran/src/H5Pf.c
@@ -1756,7 +1756,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 2f9bcad..6cae6b3 100644
--- a/fortran/test/tH5O_F03.F90
+++ b/fortran/test/tH5O_F03.F90
@@ -442,7 +442,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 ecbc012..c381687 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 1f78064..a6734cb 100644
--- a/src/H5PLpath.c
+++ b/src/H5PLpath.c
@@ -817,7 +817,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 6575b6f..47b3dfd 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -1650,7 +1650,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 2bd4006..7e9e715 100644
--- a/testpar/t_bigio.c
+++ b/testpar/t_bigio.c
@@ -1866,7 +1866,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;