Skip to content

Commit 6985a55

Browse files
authored
Merge pull request open-mpi#7291 from gpaulsen/topic/v4.0.x/from_pr7190_7192
Topic/v4.0.x/from pr7190 7192
2 parents 8df9f53 + 836ce83 commit 6985a55

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

opal/class/opal_list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ bool opal_list_insert(opal_list_t *list, opal_list_item_t *item, long long idx)
142142

143143
#if OPAL_ENABLE_DEBUG
144144
/* Spot check: ensure this item is only on the list that we
145-
just insertted it into */
145+
just inserted it into */
146146

147147
opal_atomic_add ( &(item->opal_list_item_refcount), 1 );
148148
assert(1 == item->opal_list_item_refcount);

opal/util/argv.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ OPAL_DECLSPEC void opal_argv_free(char **argv);
139139
* @retval argv pointer to new argv array on success
140140
* @retval NULL on error
141141
*
142-
* All strings are insertted into the argv array by value; the
142+
* All strings are inserted into the argv array by value; the
143143
* newly-allocated array makes no references to the src_string
144144
* argument (i.e., it can be freed after calling this function
145145
* without invalidating the output argv).
@@ -156,7 +156,7 @@ OPAL_DECLSPEC char **opal_argv_split(const char *src_string, int delimiter) __o
156156
* @retval argv pointer to new argv array on success
157157
* @retval NULL on error
158158
*
159-
* All strings are insertted into the argv array by value; the
159+
* All strings are inserted into the argv array by value; the
160160
* newly-allocated array makes no references to the src_string
161161
* argument (i.e., it can be freed after calling this function
162162
* without invalidating the output argv).
@@ -259,7 +259,7 @@ OPAL_DECLSPEC int opal_argv_delete(int *argc, char ***argv,
259259
* @retval OPAL_BAD_PARAM if any parameters are non-sensical
260260
*
261261
* This function takes one arg and inserts it in the middle of
262-
* another. The first token in source will be insertted at index
262+
* another. The first token in source will be inserted at index
263263
* start in the target argv; all other tokens will follow it.
264264
* Similar to opal_argv_append(), the target may be realloc()'ed
265265
* to accomodate the new storage requirements.

opal/util/cmd_line.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ int opal_cmd_line_parse(opal_cmd_line_t *cmd, bool ignore_unknown, bool ignore_u
383383
/* Suck down the following parameters that belong to
384384
this option. If we run out of parameters, or find
385385
that any of them are the special_empty_param
386-
(insertted by split_shorts()), then print an error
386+
(inserted by split_shorts()), then print an error
387387
and return. */
388388

389389
param = OBJ_NEW(ompi_cmd_line_param_t);

opal/util/opal_environ.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ OPAL_DECLSPEC char **opal_environ_merge(char **minor, char **major) __opal_attri
7979
*
8080
* \em env is expected to be a NULL-terminated array of pointers
8181
* (argv-style). Note that unlike some implementations of
82-
* putenv(3), if \em value is insertted in \em env, it is copied.
82+
* putenv(3), if \em value is inserted in \em env, it is copied.
8383
* So the caller can modify/free both \em name and \em value after
8484
* opal_setenv() returns.
8585
*

opal/util/path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ char *opal_path_access(char *fname, char *path, int mode)
298298
* Loads argument array with $PATH env var.
299299
*
300300
* Accepts
301-
* -path String contiaing the $PATH
301+
* -path String containing the $PATH
302302
* -argc Pointer to argc
303303
* -argv Pointer to list of argv
304304
*/

0 commit comments

Comments
 (0)