Spelling fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user