summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-02-16 13:23:09 (GMT)
committerGitHub <noreply@github.com>2023-02-16 13:23:09 (GMT)
commitaf9659d8475123d25f2235ef09b39567c4e2dde0 (patch)
treeb94ef18a88c9c0a18f1cd027cf19f7d1487440da /src/H5P.c
parent5b79bb2f0f0c9722da2236deef2875291bdb7bde (diff)
downloadhdf5-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 'src/H5P.c')
-rw-r--r--src/H5P.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 6969097..d2d95c3 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -664,7 +664,7 @@ H5Pset(hid_t plist_id, const char *name, const void *value)
if (!name || !*name)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property name");
if (value == NULL)
- HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalied property value");
+ HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property value");
/* Go set the value */
if (H5P_set(plist, name, value) < 0)
@@ -678,7 +678,7 @@ done:
NAME
H5Pexist
PURPOSE
- Routine to query the existance of a property in a property object.
+ Routine to query the existence of a property in a property object.
USAGE
htri_t H5P_exist(id, name)
hid_t id; IN: Property object ID to check
@@ -712,7 +712,7 @@ H5Pexist(hid_t id, const char *name)
if (!name || !*name)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property name");
- /* Check for the existance of the property in the list or class */
+ /* Check for the existence of the property in the list or class */
if (H5I_GENPROP_LST == H5I_get_type(id)) {
if (NULL == (plist = (H5P_genplist_t *)H5I_object(id)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a property list");
@@ -856,7 +856,7 @@ done:
Failure: H5I_INVALID_HID (negative)
DESCRIPTION
Decodes a property list from a binary buffer. The contents of the buffer
- contain the values for the correponding properties of the plist. The decode
+ contain the values for the corresponding properties of the plist. The decode
callback of a certain property decodes its value from the buffer and sets it
in the property list.
GLOBAL VARIABLES
@@ -1274,7 +1274,7 @@ H5Pget(hid_t plist_id, const char *name, void *value)
if (!name || !*name)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property name");
if (value == NULL)
- HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalied property value");
+ HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid property value");
/* Go get the value */
if (H5P_get(plist, name, value) < 0)
@@ -1297,7 +1297,7 @@ done:
Returns non-negative on success, negative on failure.
DESCRIPTION
Removes a property from a property list. Both properties which were
- in existance when the property list was created (i.e. properties registered
+ in existence when the property list was created (i.e. properties registered
with H5Pregister2) and properties added to the list after it was created
(i.e. added with H5Pinsert2) may be removed from a property list.
Properties do not need to be removed a property list before the list itself