summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kittisopikul <mkitti@users.noreply.github.com>2023-03-08 20:42:47 (GMT)
committerGitHub <noreply@github.com>2023-03-08 20:42:47 (GMT)
commit5d3d43b1ee8db30e8e04705eb529e09e992cf922 (patch)
treec4f62b1499d6cc77e8c57a751472d8ca51fde9c0
parent7b833f04b5146bdad339ff10d42aadc416fb2f00 (diff)
downloadhdf5-5d3d43b1ee8db30e8e04705eb529e09e992cf922.zip
hdf5-5d3d43b1ee8db30e8e04705eb529e09e992cf922.tar.gz
hdf5-5d3d43b1ee8db30e8e04705eb529e09e992cf922.tar.bz2
Fix new codespell issues (#2521)
* Fix new codespell issues * Have codespell ignore ./config/sanitizer/sanitizers.cmake
-rw-r--r--.github/workflows/codespell.yml2
-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
12 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
index db20884..a4edb0f 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
+ 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,minnum,ake,gord,numer,ro,oce,msdos
diff --git a/config/toolchain/aarch64.cmake b/config/toolchain/aarch64.cmake
index b050482..6996833 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 b34355c..7c8c958 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2332,7 +2332,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 2cec2ce..7371814 100644
--- a/fortran/src/H5Pf.c
+++ b/fortran/src/H5Pf.c
@@ -1755,7 +1755,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 eab2e19..6b6c730 100644
--- a/fortran/test/tH5O_F03.F90
+++ b/fortran/test/tH5O_F03.F90
@@ -440,7 +440,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 d7271d7..313439e 100644
--- a/src/H5FScache.c
+++ b/src/H5FScache.c
@@ -435,7 +435,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 8ad00c3..9619b13 100644
--- a/src/H5PLpath.c
+++ b/src/H5PLpath.c
@@ -819,7 +819,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 bb5028d..22de41f 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -1609,7 +1609,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 1c66748..4ecb09e 100644
--- a/testpar/t_bigio.c
+++ b/testpar/t_bigio.c
@@ -1858,7 +1858,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;