diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-02-16 13:23:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 13:23:09 (GMT) |
commit | af9659d8475123d25f2235ef09b39567c4e2dde0 (patch) | |
tree | b94ef18a88c9c0a18f1cd027cf19f7d1487440da /tools | |
parent | 5b79bb2f0f0c9722da2236deef2875291bdb7bde (diff) | |
download | hdf5-af9659d8475123d25f2235ef09b39567c4e2dde0.zip hdf5-af9659d8475123d25f2235ef09b39567c4e2dde0.tar.gz hdf5-af9659d8475123d25f2235ef09b39567c4e2dde0.tar.bz2 |
1.10: Add spelling check to CI and fix errors. (#2442)
* Update CI and support files to match latest from 1.14
* Correct spelling
* More spelling corrections
* spelling fixes in testpar
* Fix spelling errors in tools
* More tools spelling fixes
* Spelling fixes for rest of tools and some src
* Fix spelling errors in src files, pt 2
* Fix spelling in src pt3
* Fix spelling errors pt4
* Fix spelling errors pt5
* Spelling fix pt6
* fix spelling error examples
* fix spelling in tests
* fix spelling errors in test pt2
* Fix spelling errors in test pt3
* fix spelling in test pt4
* Fix spelling errors in hl
* fix spelling errors in c++
* Spelling fixes for fortran
* spelling fixes for bin and java
* Add relative path
* Change spelling action to use a file for list of ignore words
* Fix spelling ignore list
* remove unused file
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5diff.c | 4 | ||||
-rw-r--r-- | tools/lib/h5tools_ref.c | 2 | ||||
-rw-r--r-- | tools/lib/h5tools_utils.c | 2 | ||||
-rw-r--r-- | tools/lib/h5trav.c | 6 | ||||
-rw-r--r-- | tools/libtest/h5tools_test_utils.c | 2 | ||||
-rw-r--r-- | tools/src/h5perf/perf.c | 2 | ||||
-rw-r--r-- | tools/src/h5perf/pio_perf.c | 2 | ||||
-rw-r--r-- | tools/test/h5copy/dynlib_copy.c | 2 | ||||
-rw-r--r-- | tools/test/h5copy/h5copygentest.c | 2 | ||||
-rw-r--r-- | tools/test/h5diff/dynlib_diff.c | 2 | ||||
-rw-r--r-- | tools/test/h5diff/h5diffgentest.c | 2 | ||||
-rw-r--r-- | tools/test/h5dump/dynlib_dump.c | 2 | ||||
-rw-r--r-- | tools/test/h5dump/h5dumpgentest.c | 4 | ||||
-rw-r--r-- | tools/test/h5format_convert/h5fc_gentest.c | 2 | ||||
-rw-r--r-- | tools/test/h5ls/dynlib_ls.c | 2 | ||||
-rw-r--r-- | tools/test/h5repack/dynlib_rpk.c | 2 | ||||
-rw-r--r-- | tools/test/h5repack/dynlib_vrpk.c | 2 | ||||
-rw-r--r-- | tools/test/perform/gen_report.pl | 4 | ||||
-rw-r--r-- | tools/test/perform/overhead.c | 2 |
19 files changed, 24 insertions, 24 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index 01a3563..e9a9fee 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -182,7 +182,7 @@ is_exclude_path(char *path, h5trav_type_t type, diff_opt_t *opts) /* search objects in exclude list */ while (NULL != exclude_path_ptr) { - /* if exclude path is is group, exclude its members as well */ + /* if exclude path is in group, exclude its members as well */ if (exclude_path_ptr->obj_type == H5TRAV_TYPE_GROUP) { ret_cmp = HDstrncmp(exclude_path_ptr->obj_path, path, HDstrlen(exclude_path_ptr->obj_path)); if (ret_cmp == 0) { /* found matching members */ @@ -246,7 +246,7 @@ is_exclude_attr(const char *path, h5trav_type_t type, diff_opt_t *opts) /* search objects in exclude list */ while (NULL != exclude_ptr) { - /* if exclude path is is group, exclude its members as well */ + /* if exclude path is in group, exclude its members as well */ if (exclude_ptr->obj_type == H5TRAV_TYPE_GROUP) { ret_cmp = HDstrncmp(exclude_ptr->obj_path, path, HDstrlen(exclude_ptr->obj_path)); if (ret_cmp == 0) { /* found matching members */ diff --git a/tools/lib/h5tools_ref.c b/tools/lib/h5tools_ref.c index c29c9c3..66d69ba 100644 --- a/tools/lib/h5tools_ref.c +++ b/tools/lib/h5tools_ref.c @@ -152,7 +152,7 @@ term_ref_path_table(void) * Purpose: Looks up a table entry given a path name. * Used during construction of the table. * - * Return: The table entre (pte) or NULL if not in the + * Return: The table entry or NULL if not in the * table. * * Programmer: REMcG diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index 16f0fea..02b1a8b 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -850,7 +850,7 @@ tmpfile(void) * Purpose: Get symbolic link (soft, external) info and its target object type (dataset, group, named datatype) and path, if exist * - * Patameters: + * Parameters: * - [IN] fileid : link file id * - [IN] linkpath : link path * - [OUT] link_info: returning target object info (h5tool_link_info_t) diff --git a/tools/lib/h5trav.c b/tools/lib/h5trav.c index afc9bc2..e88db8d 100644 --- a/tools/lib/h5trav.c +++ b/tools/lib/h5trav.c @@ -528,7 +528,7 @@ trav_info_free(trav_info_t *info) /*------------------------------------------------------------------------- * Function: trav_table_visit_obj * - * Purpose: Callback for visiting object, with 'table' sructure + * Purpose: Callback for visiting object, with 'table' structure * * Return: 0 on success, * -1 on failure @@ -553,7 +553,7 @@ trav_table_visit_obj(const char *path, const H5O_info_t *oinfo, const char *alre /*------------------------------------------------------------------------- * Function: trav_table_visit_lnk * - * Purpose: Callback for visiting link, with 'table' sructure + * Purpose: Callback for visiting link, with 'table' structure * * Return: 0 on success, * -1 on failure @@ -1109,7 +1109,7 @@ symlink_is_visited(symlink_trav_t *visited, H5L_type_t type, const char *file, c /* Look for symlink */ for (u = 0; u < visited->nused; u++) { /* Check for symlink values already in array */ - /* check type and path pair to distingush between symbolic links */ + /* check type and path pair to distinguish between symbolic links */ if ((visited->objs[u].type == type) && !HDstrcmp(visited->objs[u].path, path)) { /* if external link, file need to be matched as well */ if (visited->objs[u].type == H5L_TYPE_EXTERNAL) diff --git a/tools/libtest/h5tools_test_utils.c b/tools/libtest/h5tools_test_utils.c index 2f3cffb..0b2a4c5 100644 --- a/tools/libtest/h5tools_test_utils.c +++ b/tools/libtest/h5tools_test_utils.c @@ -240,7 +240,7 @@ tuple_testcase_t tuple_cases_g[] = { {"stuff keeps on going"}, }, { - "4-ple, escaped seperator", + "4-ple, escaped separator", "(elem0,elem1,el\\,em2,elem3)", /* "el\,em" */ ',', SUCCEED, diff --git a/tools/src/h5perf/perf.c b/tools/src/h5perf/perf.c index 54d83e1..cac7266 100644 --- a/tools/src/h5perf/perf.c +++ b/tools/src/h5perf/perf.c @@ -480,7 +480,7 @@ parse_args(int argc, char **argv) * further calls to getenv_all take place. * * Return: pointer to a string containing the value of the environment variable - * NULL if the varialbe doesn't exist in task 'root's environment. + * NULL if the variable doesn't exist in task 'root's environment. * * Programmer: Leon Arber * 4/4/05 diff --git a/tools/src/h5perf/pio_perf.c b/tools/src/h5perf/pio_perf.c index 6aff995..f997166 100644 --- a/tools/src/h5perf/pio_perf.c +++ b/tools/src/h5perf/pio_perf.c @@ -1694,7 +1694,7 @@ usage(const char *prog) HDprintf(" Environment variables:\n"); HDprintf(" HDF5_NOCLEANUP Do not remove data files if set [default remove]\n"); HDprintf(" HDF5_MPI_INFO MPI INFO object key=value separated by ;\n"); - HDprintf(" HDF5_PARAPREFIX Paralllel data files prefix\n"); + HDprintf(" HDF5_PARAPREFIX Parallel data files prefix\n"); fflush(stdout); } /* end if */ } /* end usage() */ diff --git a/tools/test/h5copy/dynlib_copy.c b/tools/test/h5copy/dynlib_copy.c index f474a55..e71ca47 100644 --- a/tools/test/h5copy/dynlib_copy.c +++ b/tools/test/h5copy/dynlib_copy.c @@ -2,7 +2,7 @@ * Copyright by The HDF Group. * * All rights reserved. * * * - * This file is part of HDF5. The full HDF5 copyright notice, including * + * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the COPYING file, which can be found at the root of the source code * * distribution tree, or in https://www.hdfgroup.org/licenses. * diff --git a/tools/test/h5copy/h5copygentest.c b/tools/test/h5copy/h5copygentest.c index d62639c..118286d 100644 --- a/tools/test/h5copy/h5copygentest.c +++ b/tools/test/h5copy/h5copygentest.c @@ -923,7 +923,7 @@ out: /*------------------------------------------------------------------------- * Function: Test_Extlink_Copy * - * Purpose: gerenate external link files + * Purpose: generate external link files * *------------------------------------------------------------------------*/ static void diff --git a/tools/test/h5diff/dynlib_diff.c b/tools/test/h5diff/dynlib_diff.c index 9d277e0..fd675b0 100644 --- a/tools/test/h5diff/dynlib_diff.c +++ b/tools/test/h5diff/dynlib_diff.c @@ -2,7 +2,7 @@ * Copyright by The HDF Group. * * All rights reserved. * * * - * This file is part of HDF5. The full HDF5 copyright notice, including * + * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the COPYING file, which can be found at the root of the source code * * distribution tree, or in https://www.hdfgroup.org/licenses. * diff --git a/tools/test/h5diff/h5diffgentest.c b/tools/test/h5diff/h5diffgentest.c index 4537a19..ae3d49e 100644 --- a/tools/test/h5diff/h5diffgentest.c +++ b/tools/test/h5diff/h5diffgentest.c @@ -2071,7 +2071,7 @@ gen_dataset_idx(const char *file, int format) int buf[10]; /* data buffer */ int i; /* local index variable */ - /* Get a copy of the file aaccess property */ + /* Get a copy of the file access property */ fapl = H5Pcreate(H5P_FILE_ACCESS); /* Set the "use the latest format" bounds for creating objects in the file */ diff --git a/tools/test/h5dump/dynlib_dump.c b/tools/test/h5dump/dynlib_dump.c index 9d277e0..fd675b0 100644 --- a/tools/test/h5dump/dynlib_dump.c +++ b/tools/test/h5dump/dynlib_dump.c @@ -2,7 +2,7 @@ * Copyright by The HDF Group. * * All rights reserved. * * * - * This file is part of HDF5. The full HDF5 copyright notice, including * + * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the COPYING file, which can be found at the root of the source code * * distribution tree, or in https://www.hdfgroup.org/licenses. * diff --git a/tools/test/h5dump/h5dumpgentest.c b/tools/test/h5dump/h5dumpgentest.c index 3589462..77345c4 100644 --- a/tools/test/h5dump/h5dumpgentest.c +++ b/tools/test/h5dump/h5dumpgentest.c @@ -5699,7 +5699,7 @@ gent_filters(void) ret = H5Tcommit2(fid, "mytype", tid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); HDassert(ret >= 0); - ret = H5Oset_comment_by_name(fid, "mytype", "This is a commited datatype", H5P_DEFAULT); + ret = H5Oset_comment_by_name(fid, "mytype", "This is a committed datatype", H5P_DEFAULT); HDassert(ret >= 0); ret = H5Tclose(tid); @@ -7146,7 +7146,7 @@ gent_dataset_idx(void) int i, j; int H5_ATTR_NDEBUG_UNUSED ret; - /* Get a copy of the file aaccess property */ + /* Get a copy of the file access property */ fapl = H5Pcreate(H5P_FILE_ACCESS); /* Set the "use the latest version of the format" bounds for creating objects in the file */ diff --git a/tools/test/h5format_convert/h5fc_gentest.c b/tools/test/h5format_convert/h5fc_gentest.c index ccb64b5..5060432 100644 --- a/tools/test/h5format_convert/h5fc_gentest.c +++ b/tools/test/h5format_convert/h5fc_gentest.c @@ -63,7 +63,7 @@ const char *FILENAME[] = {"h5fc_ext1_i.h5", /* 0 */ /* * Function: gen_non() * - * Create a file with SWMR write+non-latest-format--this will result in v3 superbock+latest version support: + * Create a file with SWMR write+non-latest-format--this will result in v3 superblock+latest version support: * 1) 1 chunked dataset with extensible array chunk indexing type (without data) * 2) 1 chunked dataset with version 2 B-tree chunk indexing type (with data) * Re-open the file with write+non-latest-format and create: diff --git a/tools/test/h5ls/dynlib_ls.c b/tools/test/h5ls/dynlib_ls.c index 9d277e0..fd675b0 100644 --- a/tools/test/h5ls/dynlib_ls.c +++ b/tools/test/h5ls/dynlib_ls.c @@ -2,7 +2,7 @@ * Copyright by The HDF Group. * * All rights reserved. * * * - * This file is part of HDF5. The full HDF5 copyright notice, including * + * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the COPYING file, which can be found at the root of the source code * * distribution tree, or in https://www.hdfgroup.org/licenses. * diff --git a/tools/test/h5repack/dynlib_rpk.c b/tools/test/h5repack/dynlib_rpk.c index b9e863b..225cea8 100644 --- a/tools/test/h5repack/dynlib_rpk.c +++ b/tools/test/h5repack/dynlib_rpk.c @@ -2,7 +2,7 @@ * Copyright by The HDF Group. * * All rights reserved. * * * - * This file is part of HDF5. The full HDF5 copyright notice, including * + * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the COPYING file, which can be found at the root of the source code * * distribution tree, or in https://www.hdfgroup.org/licenses. * diff --git a/tools/test/h5repack/dynlib_vrpk.c b/tools/test/h5repack/dynlib_vrpk.c index 981b848..f9f9299 100644 --- a/tools/test/h5repack/dynlib_vrpk.c +++ b/tools/test/h5repack/dynlib_vrpk.c @@ -2,7 +2,7 @@ * Copyright by The HDF Group. * * All rights reserved. * * * - * This file is part of HDF5. The full HDF5 copyright notice, including * + * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the COPYING file, which can be found at the root of the source code * * distribution tree, or in https://www.hdfgroup.org/licenses. * diff --git a/tools/test/perform/gen_report.pl b/tools/test/perform/gen_report.pl index a1fbeb0..c853b70 100644 --- a/tools/test/perform/gen_report.pl +++ b/tools/test/perform/gen_report.pl @@ -391,7 +391,7 @@ sub plot_default_graph1 { print GNUPLOT_PIPE "set term x11 1\n"; print GNUPLOT_PIPE "set xlabel \"Number of Processors\"\n"; print GNUPLOT_PIPE "set title \"" . $data_type . " Performance (Speed vs. Num. Procs)\"\n"; - print GNUPLOT_PIPE "set ylabel \"Bandwdith (MB/s)\"\n"; + print GNUPLOT_PIPE "set ylabel \"Bandwidth (MB/s)\"\n"; print GNUPLOT_PIPE "set label 1 \"Transfer buffer size: " . $transfer_buffer_size . "K\" at graph 0.7, graph 0.7 left \n"; #the next line attempts to hack gnuplot to get around it's inability to linearly scale, but logarithmically label an axis @@ -435,7 +435,7 @@ sub plot_default_graph2 { print GNUPLOT_PIPE "set term x11 2\n"; print GNUPLOT_PIPE "set xlabel \"Transfer Buffer Size (in bytes)\"\n"; print GNUPLOT_PIPE "set title \"" . $data_type . " Performance (Speed vs. Transfer Buffer Size)\"\n"; - print GNUPLOT_PIPE "set ylabel \"Bandwdith (MB/s)\"\n"; + print GNUPLOT_PIPE "set ylabel \"Bandwidth (MB/s)\"\n"; print GNUPLOT_PIPE "set label 1 \"Procs: " . $num_procs_graph . "\" at graph 0.7, graph 0.7 left \n"; #the next line attempts to hack gnuplot to get around it's inability to linearly scale, but logarithmically label an axis diff --git a/tools/test/perform/overhead.c b/tools/test/perform/overhead.c index 41eef0c..e1036e5 100644 --- a/tools/test/perform/overhead.c +++ b/tools/test/perform/overhead.c @@ -182,7 +182,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; |