Spelling fixes

This commit is contained in:
chase
2018-05-26 11:50:47 -05:00
committed by Jon Trulson
parent 8d2fe2486c
commit 809c3d8bb6
146 changed files with 240 additions and 240 deletions

View File

@@ -530,7 +530,7 @@ SPCError *SPC_Lookup_Error(int errornum)
case SPC_Connection_EOF:
if (SPC_who_am_i == SPC_I_AM_A_DAEMON)
spc_error_struct.format = (XeString) "><Client has disconneted (received EOF).";
spc_error_struct.format = (XeString) "><Client has disconnected (received EOF).";
else
spc_error_struct.format = (XeString) "><The dtspcd process on host '%s' has terminated.";
spc_error_struct.severity = XeError;

View File

@@ -420,7 +420,7 @@ SPC_Input_Handler(SPC_Channel_Ptr channel,
nchars=(*channel->read_filter)
(channel, connector, spc_iobuffer, SPC_BUFSIZ);
/* Check nchars. If it is EXCEPT_FLAG, we had a special occurance (such
/* Check nchars. If it is EXCEPT_FLAG, we had a special occurrence (such
as an ioctl on a PTY). In any case, don't do any more processing */
if(nchars==EXCEPT_FLAG)

View File

@@ -242,7 +242,7 @@ Boolean _path_search (XeString path, XeString filename, path_search_predicate p)
XeChar path_component[MAXPATHLEN+1];
int path_component_len;
int filename_len;
int component_seperator=(int)':'; /* this is here because strchr takes an in */
int component_separator=(int)':'; /* this is here because strchr takes an in */
if(!filename)
return(FALSE);
@@ -255,9 +255,9 @@ Boolean _path_search (XeString path, XeString filename, path_search_predicate p)
path=getenv("PATH");
for( (path_rest=path ,
next_colon=strchr(path_rest, component_seperator));
next_colon=strchr(path_rest, component_separator));
path_rest && *path_rest;
next_colon=strchr(path_rest, component_seperator)) {
next_colon=strchr(path_rest, component_separator)) {
/*
** Copy path component into buffer

View File

@@ -3729,7 +3729,7 @@ MatchParamsToAction(
* "termOpts". This situation arises because
* the existing prompt data structures do NOT identify the
* location of the prompt and hence where to put the
* user-supplied value; except by order of occurance.
* user-supplied value; except by order of occurrence.
*/
ProcessOneSegment(request, &(action->u.cmd.execHosts), prompts,
numPrompts, &argsOptionFound, &lastArgReferenced,
@@ -4734,7 +4734,7 @@ ResolveCommandInvokerMessagePieces(
* "termOpts". This situation arises because
* the existing prompt data structures do NOT identify the
* location of the prompt and hence where to put the
* user-supplied value; except by order of occurance.
* user-supplied value; except by order of occurrence.
*/
/* Set up the next host to execute on */

View File

@@ -1266,7 +1266,7 @@ InitializeLocalizedStrings ( void )
missingField = XtNewString (((char *) Dt11GETMESSAGE (6, 14, "The action definition \"%s\" in the file\n \"%s\"\n is missing the required field, \"%s\"\n for \"%s\" type actions.\n")));
missingName = XtNewString (((char *) Dt11GETMESSAGE (4, 1, "A \"%s\" definition in the file:\n \"%s\"\n is missing a name. Add the name\n to the defintion.\n")));
missingName = XtNewString (((char *) Dt11GETMESSAGE (4, 1, "A \"%s\" definition in the file:\n \"%s\"\n is missing a name. Add the name\n to the definition.\n")));
unrecogMsgType2 = XtNewString (((char *) Dt11GETMESSAGE (6, 16, "The action definition \"%s\" in the file\n \"%s\"\n has the illegal value \"%s\" in the \"%s%s%s\" field.\n")));
}

View File

@@ -1867,7 +1867,7 @@ _DtActReadTmpFileToBuffer( char *fname, int *sizep )
*
* _DtActRetCmdChildArgs(childp, aargv)
*
* Create an argment vector containing the returnable arguments for
* Create an argument vector containing the returnable arguments for
* a command action child. The vector pointer is passed in "aargv"
* space for it should already have been allocated by the caller.
* The number of returned arguments is returned by the function.

View File

@@ -130,7 +130,7 @@ Dt_strtok(
ptr += (len + offset);
/*
* In preparation for the next pass, skip any other occurrances of
* In preparation for the next pass, skip any other occurrences of
* the terminator characters which were joined with the terminator
* we first encountered.
*/
@@ -190,7 +190,7 @@ Dt_strtok_r(
*ptr += (len + offset);
/*
* In preparation for the next pass, skip any other occurrances of
* In preparation for the next pass, skip any other occurrences of
* the terminator characters which were joined with the terminator
* we first encountered.
*/
@@ -330,7 +330,7 @@ Dt_strcspn(
/*
* Dt version of strchr(s, c).
* Returns a pointer to the first occurance of 'c' in 's'.
* Returns a pointer to the first occurrence of 'c' in 's'.
*/
char *
@@ -374,7 +374,7 @@ Dt_strchr(
/*
* Dt version of strrchr(s, c).
* Returns a pointer to the last occurance of 'c' in 's'.
* Returns a pointer to the last occurrence of 'c' in 's'.
*/
char *

View File

@@ -738,7 +738,7 @@ all platforms.
$ARGS$:
$RETURNS$:
True: strings match
False: they dont
False: they don't
/*================================================$SKIP$==*/
#endif
@@ -1777,7 +1777,7 @@ int _DtXlateOpenAllDbs(
_DtMBStrchr (workStart, PATH_SEPARATOR, -1, &separator);
if (NULL == separator) _DtMBStrchr (workStart, EOS, -1, &separator);
if (NULL == separator) break; /* BREAK */
workLen = separator - workStart; /* dont include +1 for EOS */
workLen = separator - workStart; /* don't include +1 for EOS */
/* copy over the path component */
strncpy(dbFile,workStart,workLen);
@@ -2299,7 +2299,7 @@ _DtXlateOpenDb() opens a particular translation database
_DtXlateOpenAndMergeDb() opens a particular database and
merges it with an already opened one, overriding any
repeated specifications.
_DtXlateOpenAllDbs() opens all occurances of a translation
_DtXlateOpenAllDbs() opens all occurrences of a translation
database found in a search path and cumulatively merges
the contents, allowing for the override of existing
specifications as well as the addition of new ones.
@@ -2509,7 +2509,7 @@ as the matchall, Xrm does not restrict enumeration as needed.
The matchall character may be followed by a number when the <transtype>
is '>'. When this occurs, the string that matches the matchall
character may be referenced in the <opvalue> by using the sequence
\<number>, as in "\1". The occurance is replaced with the matched
\<number>, as in "\1". The occurrence is replaced with the matched
string.
/*=$END$================================================*/
#endif