Fix spelling: "occured" should be "occurred"

* checks/armor.test, cipher/des.c, g10/ccid-driver.c, g10/pkclist.c,
  util/regcomp.c, util/regex_internal.c: correct the spelling of
  "occured" to "occurred"

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
Daniel Kahn Gillmor 2016-08-03 11:56:55 -04:00 committed by Justus Winter
parent f474b161f6
commit 1820889e3c
6 changed files with 8 additions and 8 deletions

View File

@ -734,7 +734,7 @@ wg7Md81a5RI3F2FG8747t9gX
' '
# Bug 1179 solved 2010-05-12: # Bug 1179 solved 2010-05-12:
# It occured for messages of a multiple of the iobuf block size where # It occurred for messages of a multiple of the iobuf block size where
# the last line had no pad character. Due to premature popping of the # the last line had no pad character. Due to premature popping of the
# armor filter gpg swalled the CRC line and passed the '-----END...' # armor filter gpg swalled the CRC line and passed the '-----END...'
# line on to the decryption layer. # line on to the decryption layer.

View File

@ -104,7 +104,7 @@
* *
* if ( (error_msg = selftest()) ) * if ( (error_msg = selftest()) )
* { * {
* fprintf(stderr, "An error in the DES/Tripple-DES implementation occured: %s\n", error_msg); * fprintf(stderr, "An error in the DES/Tripple-DES implementation occurred: %s\n", error_msg);
* abort(); * abort();
* } * }
*/ */

View File

@ -2264,7 +2264,7 @@ ccid_poll (ccid_driver_t handle)
} }
else if (msg[0] == RDR_to_PC_HardwareError) else if (msg[0] == RDR_to_PC_HardwareError)
{ {
DEBUGOUT ("hardware error occured\n"); DEBUGOUT ("hardware error occurred\n");
} }
else else
{ {

View File

@ -952,7 +952,7 @@ build_pk_list( STRLIST rcpts, PK_LIST *ret_pk_list, unsigned int use )
} }
/* Do group expand here too. The trick here is to continue /* Do group expand here too. The trick here is to continue
the loop if any expansion occured. The code above will the loop if any expansion occurred. The code above will
then list all expanded keys. */ then list all expanded keys. */
if (expand_id(answer,&backlog,0)) if (expand_id(answer,&backlog,0))
continue; continue;

View File

@ -1764,7 +1764,7 @@ peek_token_bracket (token, input, syntax)
/* Entry point of the parser. /* Entry point of the parser.
Parse the regular expression REGEXP and return the structure tree. Parse the regular expression REGEXP and return the structure tree.
If an error is occured, ERR is set by error code, and return NULL. If an error is occurred, ERR is set by error code, and return NULL.
This function build the following tree, from regular expression <reg_exp>: This function build the following tree, from regular expression <reg_exp>:
CAT CAT
/ \ / \
@ -3349,7 +3349,7 @@ build_word_op (dfa, not, err)
/* This is intended for the expressions like "a{1,3}". /* This is intended for the expressions like "a{1,3}".
Fetch a number from `input', and return the number. Fetch a number from `input', and return the number.
Return -1, if the number field is empty like "{,1}". Return -1, if the number field is empty like "{,1}".
Return -2, If an error is occured. */ Return -2, If an error is occurred. */
static int static int
fetch_number (input, token, syntax) fetch_number (input, token, syntax)

View File

@ -793,7 +793,7 @@ re_node_set_merge (dest, src)
/* Insert the new element ELEM to the re_node_set* SET. /* Insert the new element ELEM to the re_node_set* SET.
return 0 if SET already has ELEM, return 0 if SET already has ELEM,
return -1 if an error is occured, return 1 otherwise. */ return -1 if an error is occurred, return 1 otherwise. */
static int static int
re_node_set_insert (set, elem) re_node_set_insert (set, elem)
@ -909,7 +909,7 @@ re_node_set_remove_at (set, idx)
/* Add the token TOKEN to dfa->nodes, and return the index of the token. /* Add the token TOKEN to dfa->nodes, and return the index of the token.
Or return -1, if an error will be occured. */ Or return -1, if an error will be occurred. */
static int static int
re_dfa_add_node (dfa, token, mode) re_dfa_add_node (dfa, token, mode)