Spelling fixes
This commit is contained in:
@@ -950,7 +950,7 @@ _DtHelpCeFindCcdfId (
|
||||
* retParent Returns a string with the locationID for the
|
||||
* topic which is the parent of the current
|
||||
* topic. If the current topic is at the top of
|
||||
* the heirarchy, a NULL string is returned.
|
||||
* the hierarchy, a NULL string is returned.
|
||||
* This string is NOT owned by the caller and
|
||||
* should only be read or copied.
|
||||
*
|
||||
@@ -1392,7 +1392,7 @@ _DtHelpCeGetCcdfDocStamp (
|
||||
*
|
||||
* Parameters: vol Specifies the loaded volume.
|
||||
* topic Returns the locationID for the top topic in
|
||||
* the volume heirarchy. This string is NOT
|
||||
* the volume hierarchy. This string is NOT
|
||||
* owned by the caller and should only be read or
|
||||
* copied.
|
||||
*
|
||||
|
||||
@@ -1081,7 +1081,7 @@ _DtHelpCeGetCcdfValueParam(
|
||||
* CEErrorReadEmpty
|
||||
* CEErrorIllegalInfo
|
||||
*
|
||||
* Purpose: Move 'src_ptr' to the next occurrance of a > character
|
||||
* Purpose: Move 'src_ptr' to the next occurrence of a > character
|
||||
* or the first character after the next space.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@@ -915,7 +915,7 @@ static void HitListFree(
|
||||
vol->startPosition = 1;
|
||||
vol->nextVolPosition = 1;
|
||||
|
||||
/* dont free indexXmStrsList here because they
|
||||
/* don't free indexXmStrsList here because they
|
||||
are reused for every search on this volume */
|
||||
vol->curIndexXmStr = vol->indexXmStrsList;
|
||||
|
||||
@@ -1269,7 +1269,7 @@ static _DtHelpFileEntry GetNextSearchFileAndDisplayCompleted(
|
||||
{
|
||||
VolHitsDisplay(hw,curFile);
|
||||
|
||||
/* update the volume label to show state; False--dont insert */
|
||||
/* update the volume label to show state; False--don't insert */
|
||||
VolNameDisplay(hw,curFile,False);
|
||||
}
|
||||
}
|
||||
@@ -2016,7 +2016,7 @@ static void PrepSearchSourceData(
|
||||
&& NULL != hw->help_dialog.srch.volListHead )
|
||||
return; /* RETURN: continue with search */
|
||||
|
||||
/* if searching full index, False=dont free vol with full index */
|
||||
/* if searching full index, False=don't free vol with full index */
|
||||
if (hw->help_dialog.srch.fullIndex)
|
||||
HitListFreeAllVolHits(hw,False);
|
||||
/* else we're searching on the same word, but completed
|
||||
@@ -2156,7 +2156,7 @@ static void CloseSearchCB (
|
||||
srch->workProcId = 0;
|
||||
}
|
||||
|
||||
/* unmanage the srchForm dialog but dont destroy it */
|
||||
/* unmanage the srchForm dialog but don't destroy it */
|
||||
if (NULL != srch->srchForm)
|
||||
{
|
||||
XtUnmanageChild(srch->srchForm);
|
||||
@@ -2257,7 +2257,7 @@ static void StatusLabelUpdate(
|
||||
break; /* BREAK */
|
||||
case SEARCH_RESULTS_STATUS:
|
||||
/* if no hits found */
|
||||
if (hw->help_dialog.srch.hitsFound == False) /*dont use == True*/
|
||||
if (hw->help_dialog.srch.hitsFound == False) /*don't use == True*/
|
||||
{
|
||||
if (hw->help_dialog.srch.fullIndex)
|
||||
{
|
||||
@@ -3079,9 +3079,9 @@ searchComplete:
|
||||
* will always be the help widget.
|
||||
*****************************************************************************/
|
||||
static void StartSearchCB(
|
||||
Widget w, /* dont use */
|
||||
Widget w, /* don't use */
|
||||
XtPointer clientData,
|
||||
XtPointer callData) /* dont use */
|
||||
XtPointer callData) /* don't use */
|
||||
{
|
||||
char *srchWord = NULL;
|
||||
DtHelpDialogWidget hw = (DtHelpDialogWidget) clientData;
|
||||
@@ -3141,7 +3141,7 @@ static void StartSearchCB(
|
||||
|
||||
hw->help_dialog.srch.searchInProgress = True;
|
||||
|
||||
/* dont free srchWord */
|
||||
/* don't free srchWord */
|
||||
|
||||
/* turn on "Stop" label */
|
||||
UpdateActionButtonLabel(hw,NULL,False);
|
||||
@@ -3604,7 +3604,7 @@ static void ProcessResultSelectionCB(
|
||||
vol->showHitsWithVol = False;
|
||||
}
|
||||
/* update the volume label to show the state */
|
||||
/* False: dont insert hw item */
|
||||
/* False: don't insert hw item */
|
||||
VolNameDisplay(hw,file,False);
|
||||
}
|
||||
/* else don't otherwise handle a 0-hits volume */
|
||||
@@ -3624,7 +3624,7 @@ static void ProcessResultSelectionCB(
|
||||
topicCnt = - HitTopicsUndisplay(hw,file,hit,topicPosition+1);
|
||||
hit->showTopicsWithHit = False;
|
||||
}
|
||||
/* update the hit label to show the state; False--dont insert */
|
||||
/* update the hit label to show the state; False--don't insert */
|
||||
HitNameDisplay(hw,file,hit,topicPosition,False);
|
||||
|
||||
/* add to all the following */
|
||||
|
||||
@@ -52,7 +52,7 @@ const char _DtHelpMsg_0000[] =
|
||||
"String data could not be formatted.";
|
||||
|
||||
const char _DtHelpMsg_0001[] =
|
||||
"Dymamic string data could not be formated.";
|
||||
"Dymamic string data could not be formatted.";
|
||||
|
||||
const char _DtHelpMsg_0002[] =
|
||||
"Man Page could not be formatted. The requested Man Page is either not present, or corrupt.";
|
||||
|
||||
@@ -591,7 +591,7 @@ void _DtHelpUpdatePrintDialog(
|
||||
fontList = XmFontListCopy (fontList);
|
||||
#endif
|
||||
|
||||
/* get formated volume title; volumeString is owned by caller */
|
||||
/* get formatted volume title; volumeString is owned by caller */
|
||||
_DtHelpFormatVolumeTitle(help->pDisplayArea,display->volumeHandle,
|
||||
&volumeString,&fontList,&mod);
|
||||
|
||||
@@ -706,7 +706,7 @@ void _DtHelpDisplayPrintDialog(
|
||||
}
|
||||
else
|
||||
{
|
||||
/* update the variable contents of the dialog; dont set defaults */
|
||||
/* update the variable contents of the dialog; don't set defaults */
|
||||
_DtHelpUpdatePrintDialog(print,display,help,False);
|
||||
}
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ static void ilInitEncodeTable (
|
||||
/* Operation:
|
||||
If this is the first character in the string the current node is set
|
||||
to the top level of the tree. Otherwise we will transition to the next
|
||||
level in the tree and search for an occurance of the character there.
|
||||
level in the tree and search for an occurrence of the character there.
|
||||
if one is found we return with TRUE. If not the new node will be
|
||||
added to the tree and FALSE will be returned.
|
||||
Return:
|
||||
|
||||
@@ -69,7 +69,7 @@ ilError error;
|
||||
If not the same, do ilConvert() to that format (recurse!), exit if error.
|
||||
*/
|
||||
switch (pCvtData->srcFormatCode) {
|
||||
case IL_DONT_CHECK_STD_FORMAT: /* filter converts format: dont check */
|
||||
case IL_DONT_CHECK_STD_FORMAT: /* filter converts format: don't check */
|
||||
break;
|
||||
|
||||
case IL_STD_FORMAT_BIT:
|
||||
|
||||
@@ -205,7 +205,7 @@ CARD32 outLong;
|
||||
errorAcc += 3 * *pPrevError; /* 3 * error above right */
|
||||
errorAcc >>= 4; /* /16 */
|
||||
errorAcc += *pSrc++ ^ invert; /* + "x"; w/ blackIsZero handled */
|
||||
if (errorAcc >= 128) /* output white: dont set out bit */
|
||||
if (errorAcc >= 128) /* output white: don't set out bit */
|
||||
errorAcc -= 255; /* sub value of white from errorAcc */
|
||||
else /* output black: errorAcc -= 0 */
|
||||
outLong |= mask;
|
||||
|
||||
@@ -64,7 +64,7 @@ typedef struct {
|
||||
ilPtr pRGBMapPixels; /* ptr to pixels in rgbMapImage if non-null */
|
||||
ilRect rect; /* piece of X image to read */
|
||||
long stripHeight; /* height of each piece of drawable to read */
|
||||
int copyPixmapDepth; /* depth for copyPixmap, or 0 => dont create */
|
||||
int copyPixmapDepth; /* depth for copyPixmap, or 0 => don't create */
|
||||
Pixmap copyPixmap; /* pixmap to copy to/GetImage() from or null */
|
||||
GC copyGC; /* GC to use to copy to "copyPixmap" */
|
||||
int nRedOnes;
|
||||
|
||||
@@ -240,7 +240,7 @@ register ilError returnCode;
|
||||
}
|
||||
}
|
||||
else {
|
||||
/* Dont have a strip's worth in buffer. If beingRecalled, then some lines
|
||||
/* Don't have a strip's worth in buffer. If beingRecalled, then some lines
|
||||
have been read out from beginning of buffer by next element. Copy the
|
||||
the lines above that point down to the beginning of the buffer, and
|
||||
set srcLine to the line past them.
|
||||
@@ -285,7 +285,7 @@ register ilError returnCode;
|
||||
}
|
||||
else pData->srcLine += nLines;
|
||||
|
||||
/* Dont have strip's worth, need more lines: if all lines read, write a
|
||||
/* Don't have strip's worth, need more lines: if all lines read, write a
|
||||
short final strip, otherwise write 0 lines and wait for more lines to
|
||||
come in, written to pData->srcLine.
|
||||
*/
|
||||
|
||||
@@ -267,7 +267,7 @@ register ilTapPrivPtr pPriv;
|
||||
imageInfo.pCompData = info.pCompData;
|
||||
imageInfo.width = info.width;
|
||||
imageInfo.height = info.height;
|
||||
imageInfo.clientPalette = TRUE; /* dont allocate anything */
|
||||
imageInfo.clientPalette = TRUE; /* don't allocate anything */
|
||||
imageInfo.clientCompData = TRUE;
|
||||
imageInfo.clientPixels = TRUE;
|
||||
if (!(feedImage = ilCreateClientImage (context, &imageInfo, 0))
|
||||
|
||||
@@ -635,7 +635,7 @@ ilYCbCrInfo *pYCbCr; /* null if not YCbCr ; else -> des...YCb
|
||||
break;
|
||||
|
||||
/* Parse group 3 TIFF options, assumed to be 0 if not present.
|
||||
As per TIFF spec, dont support if any unrecognized bits are not 0.
|
||||
As per TIFF spec, don't support if any unrecognized bits are not 0.
|
||||
Note that "group3CompData" is set to 0 below if comp = 2 (TIFF G3).
|
||||
*/
|
||||
case GROUP_3_OPTIONS:
|
||||
@@ -1000,7 +1000,7 @@ register ilBool bigEndian;
|
||||
|
||||
ilFreeFileList (pFile); /* remove potential invalid image list */
|
||||
|
||||
/* Dont have image list - read file and build the list. When done,
|
||||
/* Don't have image list - read file and build the list. When done,
|
||||
pFile->IFDTailPtrOffset points to the "next IFD" ptr which is null, i.e.
|
||||
the next IFD ptr for the last image in the file. For a file with no images
|
||||
that would be the ptr in the file header.
|
||||
|
||||
@@ -1071,7 +1071,7 @@ char versionName [VERSION_LENGTH];
|
||||
|
||||
/* JPEG: write JIF with restart markers between strips.
|
||||
For JIF-in-TIFF: add tags for a file ptr and length of the JIF image,
|
||||
and the restart interval, but dont know value until JIF image received.
|
||||
and the restart interval, but don't know value until JIF image received.
|
||||
*/
|
||||
case IL_JPEG:
|
||||
jpegProc = 1; /* baseline sequential process */
|
||||
|
||||
@@ -574,7 +574,7 @@ register long nPixelsM1;
|
||||
case 1: {
|
||||
register ilPtr pDst, pSrc1, pSrc2;
|
||||
|
||||
nLines--; /* dont count first line already in buffer */
|
||||
nLines--; /* don't count first line already in buffer */
|
||||
while (nLines >= 2) { /* two src lines, line between to interpolate */
|
||||
nLines -= 2;
|
||||
pSrc1 = pLine;
|
||||
@@ -605,7 +605,7 @@ register long nPixelsM1;
|
||||
register int pixel, delta;
|
||||
long rowBytesTimes4 = rowBytes << 2;
|
||||
|
||||
nLines--; /* dont count first line already in buffer */
|
||||
nLines--; /* don't count first line already in buffer */
|
||||
while (nLines >= 4) { /* four src lines, line between to interpolate */
|
||||
nLines -= 4;
|
||||
pSrc = pLine;
|
||||
|
||||
@@ -111,7 +111,7 @@ ilError error;
|
||||
}
|
||||
else error = IL_OK;
|
||||
|
||||
/* If aborting, free up pixels if they dont belong to client */
|
||||
/* If aborting, free up pixels if they don't belong to client */
|
||||
if (aborting) {
|
||||
if (!pImage->i.clientPixels && pImagePlane->pPixels) {
|
||||
IL_FREE (pImagePlane->pPixels);
|
||||
@@ -203,7 +203,7 @@ ilSrcElementData srcData;
|
||||
long stripHeight;
|
||||
ilPtr pCompData;
|
||||
|
||||
/* Get pipe info, dont force decompression (yet). */
|
||||
/* Get pipe info, don't force decompression (yet). */
|
||||
ilGetPipeInfo (pipe, FALSE, &info, &des, &format);
|
||||
|
||||
/* Convert (and decompress) as necessary to dest image des */
|
||||
|
||||
@@ -1772,7 +1772,7 @@ SelectPrinterHelpCB(
|
||||
* the list. The connection is not closed until a selection is made
|
||||
* in the list, or the printer selection dialog is dismissed. This is
|
||||
* because no assumptions about the Printer Info dialog's widget
|
||||
* heirarchy can be made.
|
||||
* hierarchy can be made.
|
||||
*
|
||||
* Return value:
|
||||
*
|
||||
|
||||
@@ -472,7 +472,7 @@ TRUTHTAB *boolyac_NOT (TRUTHTAB *oldtt) {
|
||||
* generated dynamically. At the parse level it is equivalent
|
||||
* to a separate 'word' with its own (undetermined) record set.
|
||||
* So it's given its own slot in saveusr.stems. The word
|
||||
* in saveusr.stems is formated "@ssttv[v...]" where ss and tt are
|
||||
* in saveusr.stems is formatted "@ssttv[v...]" where ss and tt are
|
||||
* ascii numbers that index the original collocated words
|
||||
* in saveusr.stems, and v... is the collocation value integer.
|
||||
* For example, "@03005" represents the collocation of stem
|
||||
|
||||
@@ -886,7 +886,7 @@ static int load_include_list (DBLK *dblk, DBLK *dblist)
|
||||
PROGNAME"1350 Include list file name = '%s'.\n",
|
||||
dblk->fname_inc);
|
||||
|
||||
/* Dont reload the same file if it's already
|
||||
/* Don't reload the same file if it's already
|
||||
* been loaded into a previous dblk in a list.
|
||||
* Code works just fine if dblist == NULL.
|
||||
*/
|
||||
@@ -989,7 +989,7 @@ static int load_stop_list (DBLK *dblk, DBLK *dblist)
|
||||
PROGNAME"1448 Stoplist file name = '%s'.\n",
|
||||
dblk->fname_stp);
|
||||
|
||||
/* Dont reload the same file if it's already
|
||||
/* Don't reload the same file if it's already
|
||||
* been loaded into a previous dblk in a list.
|
||||
* Code works just fine if dblist == NULL.
|
||||
*/
|
||||
@@ -1127,7 +1127,7 @@ static int load_paice_suffixes (DBLK *dblk, DBLK *dblist)
|
||||
PROGNAME"1740 Paice suffix file name = '%s'.\n",
|
||||
dblk->fname_sfx);
|
||||
|
||||
/* Dont reload the same file if it's already
|
||||
/* Don't reload the same file if it's already
|
||||
* been loaded into a previous dblk in a list,
|
||||
* but flag it so it won't be freed at unload_language/REINIT.
|
||||
* Code works just fine if dblist == NULL.
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
*/
|
||||
/*-----------------------------------------------------------------------
|
||||
|
||||
reclast.c - find last record occurance in database
|
||||
reclast.c - find last record occurrence in database
|
||||
|
||||
reclast is used to setup a scan of a database by database number
|
||||
backwards, and is complementary to recfrst.
|
||||
@@ -71,10 +71,10 @@
|
||||
/* ********************** LOCAL FUNCTION DECLARATIONS **************** */
|
||||
|
||||
/* ======================================================================
|
||||
d_reclast - find last record occurance in database
|
||||
d_reclast - find last record occurrence in database
|
||||
*/
|
||||
int d_reclast( rec TASK_PARM DBN_PARM )
|
||||
int rec; /* record # to find last occurance of */
|
||||
int rec; /* record # to find last occurrence of */
|
||||
TASK_DECL
|
||||
DBN_DECL /* optional database number */
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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")));
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -78,5 +78,5 @@ extern void _DtTermFunctionKeyInit(
|
||||
} /* close scope of 'extern "C"'.... */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* DONT'T ADD ANYTHING AFTER THIS #endif... */
|
||||
/* DON'T ADD ANYTHING AFTER THIS #endif... */
|
||||
#endif /* _Dt_TermFunctionKey_h */
|
||||
|
||||
@@ -66,5 +66,5 @@ typedef struct _UserKeyInfoRec {
|
||||
} /* close scope of 'extern "C"'.... */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* DONT'T ADD ANYTHING AFTER THIS #endif... */
|
||||
/* DON'T ADD ANYTHING AFTER THIS #endif... */
|
||||
#endif /* _Dt_TermFunctionKeyP_h */
|
||||
|
||||
@@ -944,7 +944,7 @@ Initialize(Widget ref_w, Widget w, Arg *args, Cardinal *num_args)
|
||||
|
||||
|
||||
/* initialize... */
|
||||
/* we need to insure that everthing is initialized. Let's do a
|
||||
/* we need to insure that everything is initialized. Let's do a
|
||||
* checklist...
|
||||
*/
|
||||
/* lower euid */
|
||||
|
||||
@@ -260,7 +260,7 @@ _DtTermPrimCursorOn(Widget w)
|
||||
DebugF('F', 1, fprintf(stderr,
|
||||
"%s() %s calling %s\n",
|
||||
"_DtTermPrimCursorOn",
|
||||
"dont care",
|
||||
"don't care",
|
||||
"XmImVaSetValues()"));
|
||||
(void) XmImVaSetValues(w,
|
||||
XmNspotLocation, &point,
|
||||
|
||||
@@ -848,7 +848,7 @@ Initialize(Widget rw, Widget w, Arg *args, Cardinal *num_args)
|
||||
|
||||
Debug('T', timeStamp("DtTermView Initialize() starting"));
|
||||
|
||||
/* we need to insure that everthing is initialized. Let's do a
|
||||
/* we need to insure that everything is initialized. Let's do a
|
||||
* checklist...
|
||||
*/
|
||||
/* Widget term created below */
|
||||
@@ -1038,7 +1038,7 @@ Initialize(Widget rw, Widget w, Arg *args, Cardinal *num_args)
|
||||
/* create the Term widget...
|
||||
*/
|
||||
i = 0;
|
||||
/* Checklist. Let's make sure we are setting everthing that term
|
||||
/* Checklist. Let's make sure we are setting everything that term
|
||||
* needs...
|
||||
*/
|
||||
|
||||
|
||||
@@ -1281,7 +1281,7 @@ ForceChildSizes(DtComboBoxWidget combo)
|
||||
full_available_height = available_height = 1;
|
||||
}
|
||||
else {
|
||||
/* Seperator need available_height plus the vertical_spacing */
|
||||
/* Separator need available_height plus the vertical_spacing */
|
||||
full_available_height = (available_height +
|
||||
(COMBO_V_SPACING(combo) * 2));
|
||||
}
|
||||
|
||||
@@ -954,7 +954,7 @@ _DtEditorDialogReplaceCB(
|
||||
|
||||
/*
|
||||
* _DtEditorDialogReplaceAllCB is attached to the "Change All" button
|
||||
* in the Find/Change dialog. It replaces all occurances of the "Find"
|
||||
* in the Find/Change dialog. It replaces all occurrences of the "Find"
|
||||
* string with the "Change To" string.
|
||||
*/
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@ _DtCm_create_tcp_client(
|
||||
timeout_tv.tv_usec = 0;
|
||||
clnt_control(cl, CLSET_TIMEOUT, (char*)&timeout_tv);
|
||||
|
||||
/* dont need to set vers_out since it should
|
||||
/* don't need to set vers_out since it should
|
||||
* be the same as that of the udp transport
|
||||
*/
|
||||
ci->tcpcl = cl;
|
||||
@@ -529,7 +529,7 @@ destroy_client_info(_DtCm_Client_Info *ci)
|
||||
}
|
||||
|
||||
/*
|
||||
* Dont limit the number of cached connections right now.
|
||||
* Don't limit the number of cached connections right now.
|
||||
* Udp client handle does not use up file descriptor only space.
|
||||
* Tcp client handle is kept open only when there's at least one
|
||||
* calendar registered with the host and the user probably won't
|
||||
|
||||
@@ -1093,7 +1093,7 @@ extern char *_CSA_entry_subtype_values[];
|
||||
|
||||
/* COMMON EXTENSIONS DECLARATIONS */
|
||||
|
||||
/* EXTENSTION SET ID */
|
||||
/* EXTENSION SET ID */
|
||||
|
||||
/* Common Extension Set */
|
||||
#define CSA_XS_COM ((CSA_uint32)0)
|
||||
|
||||
@@ -1934,7 +1934,7 @@ establish_user_environment(char **renvp)
|
||||
* /etc/profile. We are doing the "sourcing" prematurely in
|
||||
* init.c. Additionally, a login C shell doesn't source the
|
||||
* file /etc/profile thus not sourcing /etc/TIMEZONE thus not
|
||||
* allowing an adminstrator to globally set TZ for all users
|
||||
* allowing an administrator to globally set TZ for all users
|
||||
*/
|
||||
if (Def_tz != NULL) /* Is there a TZ from defaults/login? */
|
||||
tmp_tz = Def_tz;
|
||||
|
||||
@@ -797,7 +797,7 @@ repository_to_string(int repository)
|
||||
/*
|
||||
* Prints an error message if a ':' or a newline is found in the string.
|
||||
* A message is also printed if the input string is too long.
|
||||
* The password sources use :'s as seperators, and are not allowed in the "gcos"
|
||||
* The password sources use :'s as separators, and are not allowed in the "gcos"
|
||||
* field. Newlines serve as delimiters between users in the password source,
|
||||
* and so, those too, are checked for. (I don't think that it is possible to
|
||||
* type them in, but better safe than sorry)
|
||||
|
||||
Reference in New Issue
Block a user