summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-08-10 20:57:26 (GMT)
committerGitHub <noreply@github.com>2022-08-10 20:57:26 (GMT)
commit174505ca3c27daa30d8affd63bda07ad24f126c5 (patch)
tree8d5a1aa014056b6c05fd7ea5b5906ca2f65b5afd /tools/lib
parente794dc5ec44ea73c92a6d3937e86307e87d277ae (diff)
downloadhdf5-174505ca3c27daa30d8affd63bda07ad24f126c5.zip
hdf5-174505ca3c27daa30d8affd63bda07ad24f126c5.tar.gz
hdf5-174505ca3c27daa30d8affd63bda07ad24f126c5.tar.bz2
Fix typos found in the rest of the hdf5 code-base (#1985)
* Fix typos found in the rest of the hdf5 code-base * Typo in tool.cmake * Revert "Typo in tool.cmake" This reverts commit 06b8403d99757c7d20f1eed530cf317c3d84de4b. * Fix clang-format styling
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5diff.c4
-rw-r--r--tools/lib/h5tools_utils.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 0bad3fe..5312668 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_utils.c b/tools/lib/h5tools_utils.c
index f92f8a7..9fbb20b 100644
--- a/tools/lib/h5tools_utils.c
+++ b/tools/lib/h5tools_utils.c
@@ -697,7 +697,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)