1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Last of the spelling fixed

This commit is contained in:
chase 2018-04-18 04:43:05 -07:00 committed by Jon Trulson
parent 6d3a19d8f9
commit 33d2749ea3
185 changed files with 279 additions and 279 deletions

View file

@ -5,7 +5,7 @@ XCOMM $XConsortium: scoLib.rules /main/2 1996/09/28 16:12:20 rws $
* build it into a different name so that we do not hose people by having * build it into a different name so that we do not hose people by having
* the library gone for long periods. * the library gone for long periods.
* *
* Work around SCO sh enviroment size problem. * Work around SCO sh environment size problem.
*/ */
#ifndef SharedLibraryTarget3 #ifndef SharedLibraryTarget3
#define SharedLibraryTarget3(libname,rev,solist1,solist2,solist3,down,up) @@\ #define SharedLibraryTarget3(libname,rev,solist1,solist2,solist3,down,up) @@\

View file

@ -429,7 +429,7 @@ XF98LINKKITDIR = LinkKitDir
#endif #endif
/* /*
* Some commonly refered to directories are defined here. * Some commonly referred to directories are defined here.
*/ */
#if XF86LinkKit #if XF86LinkKit

View file

@ -920,7 +920,7 @@ Sect hierarchy)
may be inserted between block-oriented elements anywhere, may be inserted between block-oriented elements anywhere,
with its Renderas attribute set to an appropriate value. with its Renderas attribute set to an appropriate value.
Sects also have a Renderas attribute, so that you may Sects also have a Renderas attribute, so that you may
accomodate cases for which it is desired that, accommodate cases for which it is desired that,
for example, all the headings in a book part for example, all the headings in a book part
appear as third-level heads: appear as third-level heads:
<literallayout role=sgmlexample> <literallayout role=sgmlexample>
@ -1813,7 +1813,7 @@ RefEntry
definitive conventional format. definitive conventional format.
The arrangement The arrangement
of information in the initial divisions of a reference entry of information in the initial divisions of a reference entry
may be rather complicated. RefEntry accomodates may be rather complicated. RefEntry accommodates
several alternate structures for this information. several alternate structures for this information.
For example, a typical reference For example, a typical reference
entry has only a single subject (here, RefName), which is entry has only a single subject (here, RefName), which is
@ -2074,7 +2074,7 @@ language of a DocBook instance is U.S. English
unless specified otherwise. unless specified otherwise.
</PARA></SECT1> </PARA></SECT1>
<SECT1 Id="DB.div.53"><TITLE>&ldquo;In-line&rdquo; vs. &ldquo;In flow&rdquo;</TITLE> <SECT1 Id="DB.div.53"><TITLE>&ldquo;In-line&rdquo; vs. &ldquo;In flow&rdquo;</TITLE>
<PARA>In this document, &ldquo;in-line&rdquo; means &rdquo;occuring within a line <PARA>In this document, &ldquo;in-line&rdquo; means &rdquo;occurring within a line
of text, like a character or character string, not causing of text, like a character or character string, not causing
a line break.&rdquo; This term is sometimes used to a line break.&rdquo; This term is sometimes used to
refer to objects such as an illustration around which refer to objects such as an illustration around which
@ -2221,7 +2221,7 @@ as published. It contains plain text
</PARA></LISTITEM></VARLISTENTRY> </PARA></LISTITEM></VARLISTENTRY>
<VARLISTENTRY><TERM>Author</TERM> <VARLISTENTRY><TERM>Author</TERM>
<LISTITEM> <LISTITEM>
<PARA>Author of a document, occuring in <PARA>Author of a document, occurring in
AuthorGroup. It consists of AuthorGroup. It consists of
one or more of the following, in any order: one or more of the following, in any order:
Honorific, Firstname, Surname, Lineage, OtherName, Honorific, Firstname, Surname, Lineage, OtherName,
@ -2318,7 +2318,7 @@ by block-oriented elements. It has common attributes.
<LISTITEM> <LISTITEM>
<PARA>A collection of book components. <PARA>A collection of book components.
The Book content model is loose enough The Book content model is loose enough
to accomodate English, French, and Japanese books. to accommodate English, French, and Japanese books.
A Book may have A Book may have
a Title and TitleAbbrev, followed in order by an optional a Title and TitleAbbrev, followed in order by an optional
BookInfo, an optional ToC, BookInfo, an optional ToC,

View file

@ -391,7 +391,7 @@ for these commands are:</para>
<para>The actual commands to create a push button widget are:</para> <para>The actual commands to create a push button widget are:</para>
<programlisting>XtCreateWidget BUTTON button XmPushButton $TOPLEVEL <programlisting>XtCreateWidget BUTTON button XmPushButton $TOPLEVEL
XmCreatePushButton BUTTON $TOPLEVEL button</programlisting> XmCreatePushButton BUTTON $TOPLEVEL button</programlisting>
<para>Each of the preceeding commands do exactly the same thing: create an <para>Each of the preceding commands do exactly the same thing: create an
unmanaged push button. Note that no resource values are set. Suppose that unmanaged push button. Note that no resource values are set. Suppose that
you want the background color of the push button to be red, and the foreground you want the background color of the push button to be red, and the foreground
color to be black. You can set the values of these resources this way:</para> color to be black. You can set the values of these resources this way:</para>

View file

@ -143,7 +143,7 @@ No
<VarListEntry> <VarListEntry>
<Term>DtACTION_FAILED</Term> <Term>DtACTION_FAILED</Term>
<ListItem> <ListItem>
<Para>An error occured and a normal termination is no longer possible. <Para>An error occurred and a normal termination is no longer possible.
The action service may have failed to start the The action service may have failed to start the
action or lost contact with and abandoned the action. action or lost contact with and abandoned the action.
Once this status value is returned, an error dialog may be Once this status value is returned, an error dialog may be

View file

@ -84,7 +84,7 @@ Specifies the information library section in generalized locator format.
<Term><SystemItem Class="Constant">DtINFO_SHOW_OK</SystemItem></Term> <Term><SystemItem Class="Constant">DtINFO_SHOW_OK</SystemItem></Term>
<ListItem> <ListItem>
<Para> <Para>
ToolTalk request succesfully sent. ToolTalk request successfully sent.
</Para> </Para>
</ListItem> </ListItem>
</VarListEntry> </VarListEntry>

View file

@ -85,7 +85,7 @@ databases.
<para>Sets the frequency of occurrence threshold for reporting words to <para>Sets the frequency of occurrence threshold for reporting words to
<Symbol Role="Variable">threshold</Symbol>. <command>dtsrkdump</command> <Symbol Role="Variable">threshold</Symbol>. <command>dtsrkdump</command>
will output only those words that occure in at least will output only those words that occure in at least
<Symbol Role="Variable">threshold</Symbol> records. Setting the threshhold to 1 <Symbol Role="Variable">threshold</Symbol> records. Setting the threshold to 1
will output all words. If neither the <literal>&minus;t</literal> nor will output all words. If neither the <literal>&minus;t</literal> nor
<literal>&minus;p</literal> option is specified, the default threshold <literal>&minus;p</literal> option is specified, the default threshold
is <literal>&minus;t100</literal>. is <literal>&minus;t100</literal>.

View file

@ -60,7 +60,7 @@ Ordinarily, this would mean that
the user's the user's
<Filename>$HOME/.Xdefaults</Filename> file would be ignored. <Filename>$HOME/.Xdefaults</Filename> file would be ignored.
However, the However, the
session manager accomodates session manager accommodates
<Filename>$HOME/.Xdefaults</Filename> by merging it into <Filename>$HOME/.Xdefaults</Filename> by merging it into
the the
<Symbol Role="Define">RESOURCE_MANAGER</Symbol> at session startup as described above. <Symbol Role="Define">RESOURCE_MANAGER</Symbol> at session startup as described above.

View file

@ -28,7 +28,7 @@
<Para>Semantic Delivery Language (sdl) files are used for presenting online <Para>Semantic Delivery Language (sdl) files are used for presenting online
information or application specific contextual help information in CDE. information or application specific contextual help information in CDE.
They They
are refered to as Help Volumes, and contain the equivalent of a runtime are referred to as Help Volumes, and contain the equivalent of a runtime
version of the original, authored help information. version of the original, authored help information.
Help Volumes can be Help Volumes can be
viewed via one of the two CDE help dialog widgets provided as part of the CDE viewed via one of the two CDE help dialog widgets provided as part of the CDE

View file

@ -196,7 +196,7 @@ language files are required and initialization will return fatal errors
if they are missing. Some language files are optional and associated if they are missing. Some language files are optional and associated
algorithms will be silently bypassed if they are missing. Files for algorithms will be silently bypassed if they are missing. Files for
supported languages may be edited to provide database specific supported languages may be edited to provide database specific
enhancements. At open time, database specific files supercede generic enhancements. At open time, database specific files supersede generic
language files. language files.
</Para> </Para>
</RefSect2> </RefSect2>

View file

@ -169,7 +169,7 @@ session.</Para>
<Sect1 Id="UG.LogIn.div.9"> <Sect1 Id="UG.LogIn.div.9">
<Title Id="UG.LogIn.mkr.5">Starting a Command-Line Session</Title> <Title Id="UG.LogIn.mkr.5">Starting a Command-Line Session</Title>
<Para>Command Line Login mode enables you to temporarily leave the desktop to <Para>Command Line Login mode enables you to temporarily leave the desktop to
work in your operating system enviroment. Command Line Login mode is not work in your operating system environment. Command Line Login mode is not
a desktop session. When your system is in Command Line Login mode, the a desktop session. When your system is in Command Line Login mode, the
desktop is suspended. You log in using your operating system mechanism desktop is suspended. You log in using your operating system mechanism
rather than Login Manager. There are no windows because the X server is not rather than Login Manager. There are no windows because the X server is not

View file

@ -1620,7 +1620,7 @@ the <ComputerOutput>standAlone</ComputerOutput> resource to True.</Para>
<Para>Specifies that the Text Editor server process <Para>Specifies that the Text Editor server process
should terminate when the last edit window for the display is closed. This should terminate when the last edit window for the display is closed. This
option is applicable only with the <ComputerOutput>-server</ComputerOutput> option. If this option is not option is applicable only with the <ComputerOutput>-server</ComputerOutput> option. If this option is not
specified, the Text Editor server process remains active indefinately, even specified, the Text Editor server process remains active indefinitely, even
when all edit windows have been closed.</Para> when all edit windows have been closed.</Para>
</ListItem> </ListItem>
</VarListEntry> </VarListEntry>

View file

@ -782,7 +782,7 @@ f
</listitem> </listitem>
<listitem id="hcal.tsks.item.151"><para>Auf 'Anzeigen' klicken.</para> <listitem id="hcal.tsks.item.151"><para>Auf 'Anzeigen' klicken.</para>
<para>Der angezeigte Kalender wechselt und zeigt den neuen Kalender an. <para>Der angezeigte Kalender wechselt und zeigt den neuen Kalender an.
<!-- <idx>error messages, from Show Other calender dialog box<\idx> --></para> <!-- <idx>error messages, from Show Other calendar dialog box<\idx> --></para>
<para>Das Dialogfenster 'Anderen Kalender anzeigen' zeigt eine Nachricht mit <para>Das Dialogfenster 'Anderen Kalender anzeigen' zeigt eine Nachricht mit
dem Namen des angezeigten Kalenders an. Wurde der Kalendername inkorrekt dem Namen des angezeigten Kalenders an. Wurde der Kalendername inkorrekt
eingegeben, wird eine Fehlermeldung angezeigt. eingegeben, wird eine Fehlermeldung angezeigt.

View file

@ -277,7 +277,7 @@ apptTransferCallback(
} }
/* /*
* Use abbreviated method of refering to the data buffers. * Use abbreviated method of reffering to the data buffers.
*/ */
if (transferInfo != NULL && transferInfo->dropData != NULL) { if (transferInfo != NULL && transferInfo->dropData != NULL) {

View file

@ -423,7 +423,7 @@ CDExc09859 Link/reflection design issue
CDExc09861 Filetype selection in New File dialo CDExc09861 Filetype selection in New File dialo
CDExc09862 Selectable history list of accessed folders for recal CDExc09862 Selectable history list of accessed folders for recal
CDExc09864 File links inherit the properties of the linked fil CDExc09864 File links inherit the properties of the linked fil
CDExc09866 Save session auto to gaurd against crashe CDExc09866 Save session auto to guard against crashes
CDExc09868 Converge action/filetype def lang and front panel def lan CDExc09868 Converge action/filetype def lang and front panel def lan
CDExc09869 Changeable icon spacin CDExc09869 Changeable icon spacin
CDExc09871 File Manager - shouldn`t have to hit enter change icon nam CDExc09871 File Manager - shouldn`t have to hit enter change icon nam
@ -439,7 +439,7 @@ CDExc10236 FileMgr windows should auto-scroll on icon dra
CDExc11333 tear-off menus wante CDExc11333 tear-off menus wante
CDExc11535 Provide switch user contro CDExc11535 Provide switch user contro
CDExc12086 Need multi-object move/copy/link CDExc12086 Need multi-object move/copy/link
CDExc12097 Add seperate size control for iconic pat CDExc12097 Add separate size control for iconic pat
CDExc12697 Need to add scrolling drag CDExc12697 Need to add scrolling drag
CDExc12714 Buttons at bottom of Set Properties incorreect CDExc12714 Buttons at bottom of Set Properties incorreect
CDExc13978 Re-selecting Selected.* options creates 2nd dialo CDExc13978 Re-selecting Selected.* options creates 2nd dialo
@ -1030,7 +1030,7 @@ CDExc16465 remove printer animatio
CDExc16700 Restore Front panel doesn t reinstate main panel icon CDExc16700 Restore Front panel doesn t reinstate main panel icon
CDExc16712 Tearoff menu fails to pop dow CDExc16712 Tearoff menu fails to pop dow
CDExc16779 Popup menu label is incorrec CDExc16779 Popup menu label is incorrec
CDExc16798 Error occured during parsing of frontpane CDExc16798 Error occurred during parsing of frontpane
CDExc17375 Client in front panel doesnt displayed popup menu correctl CDExc17375 Client in front panel doesnt displayed popup menu correctl
CDExc17655 Got new mail, and the workspace I was renaming rese CDExc17655 Got new mail, and the workspace I was renaming rese
CDExc17657 Front Panel for mail does not actually get new mai CDExc17657 Front Panel for mail does not actually get new mai
@ -1777,7 +1777,7 @@ Component: Applications Sub-component: dtmail
CDExc15608 Undocumented function is being used CDExc15608 Undocumented function is being used
CDExc15822 Can not view postscript mail attachmen CDExc15822 Can not view postscript mail attachmen
CDExc21726 Dtmail tests fail on Fujistsu because of incorrect keyboard binding CDExc21726 Dtmail tests fail on Fujitsu because of incorrect keyboard binding
CDExc23026 Message/openMsg test having trouble with secondary windo CDExc23026 Message/openMsg test having trouble with secondary windo
CDExc23865 Dtmail tests which receive mail need to be updated for POP/IMAP CDExc23865 Dtmail tests which receive mail need to be updated for POP/IMAP
CDExc24042 dtmail manual test needs updating CDExc24042 dtmail manual test needs updating
@ -1922,7 +1922,7 @@ CDExc23041 Threadsafe tests fail to run on Digita
Component: DtWidget Sub-component: DtComboBox Component: DtWidget Sub-component: DtComboBox
CDExc20917 Fujistu DtWidget golden images need updatin CDExc20917 Fujitsu DtWidget golden images need updatin
CDExc22872 IBM DtWidget golden images need updatin CDExc22872 IBM DtWidget golden images need updatin
Component: DtWidget Sub-component: DtEditor Component: DtWidget Sub-component: DtEditor

View file

@ -111,7 +111,7 @@ shell is created.
<refsect1> <refsect1>
<title>RETURN VALUE</title> <title>RETURN VALUE</title>
<para>The id the <Symbol>XmPrintShell</Symbol> widget created on the <para>The id the <Symbol>XmPrintShell</Symbol> widget created on the
X Print Server connection, or NULL if an error has occured. X Print Server connection, or NULL if an error has occurred.
</para> </para>
</refsect1> </refsect1>
<refsect1> <refsect1>

View file

@ -45,7 +45,7 @@ used in rendering a text component.
<Para>If a resource in a rendition is unspecified, usually by setting it to <Para>If a resource in a rendition is unspecified, usually by setting it to
<SystemItem Class="Constant">XmAS_IS</SystemItem> or <SystemItem Class="Constant">XmUNSPECIFIED_PIXEL</SystemItem>, <SystemItem Class="Constant">XmAS_IS</SystemItem> or <SystemItem Class="Constant">XmUNSPECIFIED_PIXEL</SystemItem>,
then the value to be used for that resource is the value of the then the value to be used for that resource is the value of the
immediately preceeding rendition in <StructName Role="typedef">XmString</StructName>. If that value immediately preceding rendition in <StructName Role="typedef">XmString</StructName>. If that value
is unspecified, then the preceding value is used, and so on. If is unspecified, then the preceding value is used, and so on. If
no renditions specify a value for a resource, then a default value no renditions specify a value for a resource, then a default value
will be used. will be used.

View file

@ -111,7 +111,7 @@ XmSTRING_COMPONENT_UNKNOWN</Symbol></Entry>
<SystemItem Class="Constant">XmSTRING_COMPONENT_UNKNOWN</SystemItem>. The data returned by these <SystemItem Class="Constant">XmSTRING_COMPONENT_UNKNOWN</SystemItem>. The data returned by these
components is returned in the <Symbol Role="Variable">unknown_tag</Symbol>, <Symbol Role="Variable">unknown_length</Symbol>, components is returned in the <Symbol Role="Variable">unknown_tag</Symbol>, <Symbol Role="Variable">unknown_length</Symbol>,
and <Symbol Role="Variable">unknown_value</Symbol> fields. This apparent inconsistency is and <Symbol Role="Variable">unknown_value</Symbol> fields. This apparent inconsistency is
designed to accomodate older applications that may not be equipped to designed to accommodate older applications that may not be equipped to
handle the newer component types of Motif version 2.0 and beyond. handle the newer component types of Motif version 2.0 and beyond.
Consequently, the use of this procedure is not recommended. Instead, Consequently, the use of this procedure is not recommended. Instead,
use the <Function>XmStringGetNextTriple</Function> procedure, which provides all the use the <Function>XmStringGetNextTriple</Function> procedure, which provides all the

View file

@ -138,7 +138,7 @@ static const char *Period = ".";
* *
* errno Values: * errno Values:
* *
* Purpose: To check for the existance of a volume. * Purpose: To check for the existence of a volume.
* *
******************************************************************************/ ******************************************************************************/
static int static int

View file

@ -408,7 +408,7 @@ GetResourceStringArray (
valArray = (char **) _DtHelpCeAddPtrToArray ( valArray = (char **) _DtHelpCeAddPtrToArray (
(void **) valArray, (void *) token); (void **) valArray, (void *) token);
/* /*
* If we malloc'ed ourselves out of existance...stop processing. * If we malloc'ed ourselves out of existence...stop processing.
*/ */
if (!valArray) if (!valArray)
break; break;
@ -1146,7 +1146,7 @@ _DtHelpCeGetCcdfKeywordList (
(void **) vol->keywordTopics, (void **) vol->keywordTopics,
(void *) topics); (void *) topics);
/* /*
* If we just malloc'ed ourselves out of existance... * If we just malloc'ed ourselves out of existence...
* stop here. * stop here.
*/ */
if (vol->keywords == 0 || vol->keywordTopics == 0) if (vol->keywords == 0 || vol->keywordTopics == 0)
@ -1177,7 +1177,7 @@ _DtHelpCeGetCcdfKeywordList (
topics = (char **) _DtHelpCeAddPtrToArray ((void **) topics, topics = (char **) _DtHelpCeAddPtrToArray ((void **) topics,
(void *) token); (void *) token);
/* /*
* If we just malloc'ed ourselves out of existance * If we just malloc'ed ourselves out of existence
* stop here. * stop here.
*/ */
if (topics == NULL) if (topics == NULL)

View file

@ -564,7 +564,7 @@ ProcessEntry (
(void **) vol->keywordTopics, (void **) vol->keywordTopics,
(void *) topics); (void *) topics);
/* /*
* If we just malloc'ed ourselves out of existance... * If we just malloc'ed ourselves out of existence...
* stop here. * stop here.
*/ */
if (vol->keywords == 0 || vol->keywordTopics == 0) if (vol->keywords == 0 || vol->keywordTopics == 0)

View file

@ -764,7 +764,7 @@ _DtHelpVertScrollCB(
if (pDAS->firstVisible == callBack->value) if (pDAS->firstVisible == callBack->value)
return; return;
/* If a drag occured, reset the reason to increment, decrement, page */ /* If a drag occurred, reset the reason to increment, decrement, page */
/* increment, or page decrement depending on the distance and direction */ /* increment, or page decrement depending on the distance and direction */
/* dragged. */ /* dragged. */
if (callBack->reason == XmCR_DRAG || callBack->reason == XmCR_VALUE_CHANGED) if (callBack->reason == XmCR_DRAG || callBack->reason == XmCR_VALUE_CHANGED)
@ -900,7 +900,7 @@ _DtHelpHorzScrollCB(
if (pDAS->virtualX == callBack->value) if (pDAS->virtualX == callBack->value)
return; return;
/* If a drag occured, reset the reason to increment, decrement, page */ /* If a drag occurred, reset the reason to increment, decrement, page */
/* increment, or page decrement depending on the distance and direction */ /* increment, or page decrement depending on the distance and direction */
/* dragged. */ /* dragged. */
if (callBack->reason == XmCR_DRAG || callBack->reason == XmCR_VALUE_CHANGED) if (callBack->reason == XmCR_DRAG || callBack->reason == XmCR_VALUE_CHANGED)

View file

@ -488,7 +488,7 @@ Boolean _DtHelpFileListAddFile (
nameKey = _DtHelpCeStrHashToKey(fileName); nameKey = _DtHelpCeStrHashToKey(fileName);
} }
/* look for prior existance and position */ /* look for prior existence and position */
next = prev = NULL; next = prev = NULL;
while ( (next = _DtHelpFileListGetNext(*in_out_list, next)) != NULL ) while ( (next = _DtHelpFileListGetNext(*in_out_list, next)) != NULL )
{ {

View file

@ -376,7 +376,7 @@ static char * pathsSet[_DtHELP_FILE_NUM_PATHS];
* *
* Purpose: Scans all paths of given type looking for a matching file * Purpose: Scans all paths of given type looking for a matching file
* If file contains a valid absolute path, that is also * If file contains a valid absolute path, that is also
* acceptible. * acceptable.
* *
* FIX: merge _DtHelpFileLocate() and _DtHelpFileListScanPaths() * FIX: merge _DtHelpFileLocate() and _DtHelpFileListScanPaths()
*****************************************************************************/ *****************************************************************************/

View file

@ -488,7 +488,7 @@ GetMbLen (
if (_DtHelpCeStrchr(font_str, ".", 1, &ptr) == 0) if (_DtHelpCeStrchr(font_str, ".", 1, &ptr) == 0)
{ {
/* /*
* make font_str two seperate strings by replacing * make font_str two separate strings by replacing
* the dot with a end of line. * the dot with a end of line.
*/ */
*ptr++ = '\0'; *ptr++ = '\0';

View file

@ -300,12 +300,12 @@ GetNextState (
* a two-byte character would be be followed by two backspaces * a two-byte character would be be followed by two backspaces
* and the same two-bytes to indicate that the character is to * and the same two-bytes to indicate that the character is to
* be a bold character. * be a bold character.
* Italic characters can either be preceeded by a backspace/underline * Italic characters can either be preceded by a backspace/underline
* or followed by a backspace/underline. I.E. _bsAB<bs_ * or followed by a backspace/underline. I.E. _bsAB<bs_
* would be an italic capitol A, a regular capital B and * would be an italic capitol A, a regular capital B and
* an italic less than sign. * an italic less than sign.
* All backslashes and less than signs are output with a backslash * All backslashes and less than signs are output with a backslash
* preceeding them. * preceding them.
* *
* The following characters have special meaning in the state table: * The following characters have special meaning in the state table:
* <c> indicates a character. * <c> indicates a character.

View file

@ -752,7 +752,7 @@ static void Initialize(
VariableInitialize(hw); VariableInitialize(hw);
/* Validate the incomming arguments to make sure they are ok */ /* Validate the incoming arguments to make sure they are ok */
/* Build the Menus bar */ /* Build the Menus bar */
@ -879,7 +879,7 @@ static Boolean SetValues(
Boolean updateRequest=FALSE; Boolean updateRequest=FALSE;
Boolean newTitle=FALSE; Boolean newTitle=FALSE;
/* Validate the incomming arguments to make sure they are ok */ /* Validate the incoming arguments to make sure they are ok */

View file

@ -868,7 +868,7 @@ static void Initialize(
defaultList); defaultList);
/* Now Validate our incomming help requests topics */ /* Now Validate our incoming help requests topics */
SetupDisplayType((Widget)qw ,DtJUMP_UPDATE); SetupDisplayType((Widget)qw ,DtJUMP_UPDATE);
/* Just for fun, lets make sure our sizes are correct */ /* Just for fun, lets make sure our sizes are correct */

View file

@ -2576,7 +2576,7 @@ ProcessTable(
} }
/* /*
* Now, double check that the row heights will accomodate * Now, double check that the row heights will accommodate
* all the cells. * all the cells.
*/ */
for (row = 0; row < maxRows; row++) for (row = 0; row < maxRows; row++)

View file

@ -363,7 +363,7 @@ void _DtHelpUpdatePathArea(
if (retState == -1) if (retState == -1)
{ {
/* Some error occured while processing the new toc, /* Some error occurred while processing the new toc,
* error out or something ??? * error out or something ???
*/ */
} }

View file

@ -788,7 +788,7 @@ _DtHelpCeGetSdlCdata (
* Purpose: Parses the CDATA value for an element attribute. Expects the * Purpose: Parses the CDATA value for an element attribute. Expects the
* pointer to be after the equals sign of the attribute. The * pointer to be after the equals sign of the attribute. The
* CDATA must be included in quotes (either single or double) * CDATA must be included in quotes (either single or double)
* and can have white space (spaces, newlines or tabs) preceeding * and can have white space (spaces, newlines or tabs) preceding
* it. Any newline encountered within the CDATA value is turned * it. Any newline encountered within the CDATA value is turned
* into a space. Any quote enclosed in the CDATA must not be the * into a space. Any quote enclosed in the CDATA must not be the
* same type as what is used to delimit the CDATA value. I.E. * same type as what is used to delimit the CDATA value. I.E.

View file

@ -947,10 +947,10 @@ DADrawLine (
* box_x,box_y Specifies the upper left hand corner of * box_x,box_y Specifies the upper left hand corner of
* the bounding box for this string. This * the bounding box for this string. This
* includes any traversal and/or link offsets * includes any traversal and/or link offsets
* relevent for the line this segment occupies. * relevant for the line this segment occupies.
* box_height Specifies the maximum height of the bounding * box_height Specifies the maximum height of the bounding
* box for this string. This includes any * box for this string. This includes any
* traversal and/or offsets relevent to this * traversal and/or offsets relevant to this
* line. * line.
* old_flags Specifies ............. * old_flags Specifies .............
* new_flags Specifies ............. * new_flags Specifies .............
@ -1336,10 +1336,10 @@ DADrawString (
* box_x,box_y Specifies the upper left hand corner of * box_x,box_y Specifies the upper left hand corner of
* the bounding box for this string. This * the bounding box for this string. This
* includes any traversal and/or link offsets * includes any traversal and/or link offsets
* relevent for the line this segment occupies. * relevant for the line this segment occupies.
* box_height Specifies the maximum height of the bounding * box_height Specifies the maximum height of the bounding
* box for this string. This includes any * box for this string. This includes any
* traversal and/or offsets relevent to this * traversal and/or offsets relevant to this
* line. * line.
* link_type Specifies the link type if this spc is * link_type Specifies the link type if this spc is
* part of a link. * part of a link.

View file

@ -994,7 +994,7 @@ static unsigned int rawWriteMethodTable [(IL_X_MAX_VISUAL_TYPE + 1)] = {
IL_XWC_WRITE_COLOR /* IL_XWC_COLOR_24 */ }; IL_XWC_WRITE_COLOR /* IL_XWC_COLOR_24 */ };
/* Table indexed by [image type, dst visual type], yielding writeType, /* Table indexed by [image type, dst visual type], yielding writeType,
assuming best case: colors/grays alloc'd succesfully; else writeType assuming best case: colors/grays alloc'd successfully; else writeType
degrades. degrades.
*/ */
static unsigned int writeTypeTable [(IL_MAX_TYPE + 1) * static unsigned int writeTypeTable [(IL_MAX_TYPE + 1) *

View file

@ -337,7 +337,7 @@ register ilBool bigEndian;
} /* END tag found */ } /* END tag found */
} /* END each caller's tag */ } /* END each caller's tag */
/* Tags read succesfully: free pFileTags (local buffer); return pTagAlloc. /* Tags read successfully: free pFileTags (local buffer); return pTagAlloc.
*/ */
IL_FREE (pFileTags); IL_FREE (pFileTags);
pFileImage->context->error = IL_OK; pFileImage->context->error = IL_OK;

View file

@ -161,7 +161,7 @@ typedef struct _ilFileRec {
/* Seek to the given offset within the given file, taking into /* Seek to the given offset within the given file, taking into
account the offset at which the logical file begins. account the offset at which the logical file begins.
Returns true if seek succesful, else false. Returns true if seek successful, else false.
*/ */
#ifdef DTLIB #ifdef DTLIB
/* Used when this header is compiled into the DtHelp library */ /* Used when this header is compiled into the DtHelp library */

View file

@ -381,7 +381,7 @@ ilSrcElementData srcData;
if (!pPriv) if (!pPriv)
return FALSE; return FALSE;
/* Element succesfully added; setup private data. /* Element successfully added; setup private data.
Increment the refCount in the image; see notes for ilImageDestroy(). Increment the refCount in the image; see notes for ilImageDestroy().
*/ */
pPriv->pImage = pImage; pPriv->pImage = pImage;

View file

@ -212,7 +212,7 @@ FREE_SPACE_STR *find_free_space (DtSrINT32 req_size, FILE_HEADER * flh)
(flh->hole_count[k])--; (flh->hole_count[k])--;
} }
else { else {
/* Hole size CAN NOT excede global batch_size in borodin */ /* Hole size CAN NOT exceed global batch_size in borodin */
hole_check_size = (req_size * coeff < batch_size) ? hole_check_size = (req_size * coeff < batch_size) ?
req_size * coeff : batch_size; req_size * coeff : batch_size;
if (hole_check_size >= flh->hole_array[k][j].hole_size) { if (hole_check_size >= flh->hole_array[k][j].hole_size) {

View file

@ -855,7 +855,7 @@ F_ADDR page_no;
#endif #endif
#ifndef SINGLE_USER #ifndef SINGLE_USER
if ( dbopen == 1 ) { if ( dbopen == 1 ) {
/* check shared access priviledges */ /* check shared access privileges */
if ( !trans_id && !excl_locks[working_file] ) if ( !trans_id && !excl_locks[working_file] )
return( dberr(S_NOTRANS) ); return( dberr(S_NOTRANS) );
if ( app_locks[working_file] >= 0 && !excl_locks[working_file] ) if ( app_locks[working_file] >= 0 && !excl_locks[working_file] )
@ -913,7 +913,7 @@ int hold;
#ifndef SINGLE_USER #ifndef SINGLE_USER
if ( dbopen == 1 ) { if ( dbopen == 1 ) {
/* check shared access priviledges */ /* check shared access privileges */
if (!app_locks[file] && if (!app_locks[file] &&
!excl_locks[file] && !excl_locks[file] &&
!(file_ptr->ft_flags & STATIC)) !(file_ptr->ft_flags & STATIC))
@ -974,7 +974,7 @@ int release;
if (!trans_id && !excl_locks[file]) if (!trans_id && !excl_locks[file])
return( dberr(S_NOTRANS) ); return( dberr(S_NOTRANS) );
/* check shared access priviledges */ /* check shared access privileges */
if ( app_locks[file] >= 0 && !excl_locks[file] ) if ( app_locks[file] >= 0 && !excl_locks[file] )
return( dberr(S_NOTLOCKED) ); return( dberr(S_NOTLOCKED) );
} }
@ -1794,7 +1794,7 @@ F_ADDR *loc; /* pointer to allocated location */
PGZERO FAR *pgzero_ptr; PGZERO FAR *pgzero_ptr;
#ifndef SINGLE_USER #ifndef SINGLE_USER
/* check shared access priviledges */ /* check shared access privileges */
if ( dbopen == 1 && !trans_id && !excl_locks[fno] ) if ( dbopen == 1 && !trans_id && !excl_locks[fno] )
return( dberr(S_NOTRANS) ); return( dberr(S_NOTRANS) );
#endif #endif
@ -1862,7 +1862,7 @@ F_ADDR loc; /* location to be freed */
PGZERO FAR *pgzero_ptr; PGZERO FAR *pgzero_ptr;
#ifndef SINGLE_USER #ifndef SINGLE_USER
/* check shared access priviledges */ /* check shared access privileges */
if ( dbopen == 1 && !trans_id && !excl_locks[fno] ) if ( dbopen == 1 && !trans_id && !excl_locks[fno] )
return( dberr(S_NOTRANS) ); return( dberr(S_NOTRANS) );
#endif #endif

View file

@ -94,8 +94,8 @@ static char FAR * remfile(P1(char FAR *));
int con_dbd(path_str,dbname,dbdpath) int con_dbd(path_str,dbname,dbdpath)
char FAR *path_str; /* (output) string to receive the full path to the char FAR *path_str; /* (output) string to receive the full path to the
dictionary */ dictionary */
char FAR *dbname; /* contains the filename of the dictionary preceeded char FAR *dbname; /* contains the filename of the dictionary preceded
optionally by a path preceeded optionally (DOS only) optionally by a path preceded optionally (DOS only)
by a drive spec. */ by a drive spec. */
char FAR *dbdpath; /* contains one element of the environment variable char FAR *dbdpath; /* contains one element of the environment variable
DBDPATH. NULL means no DBDPATH defined. */ DBDPATH. NULL means no DBDPATH defined. */

View file

@ -806,7 +806,7 @@ int post_fork_pty_channel_object(SPC_Channel_Ptr channel,
} }
if(IS_SPCIO_STDERR(iomode)) { if(IS_SPCIO_STDERR(iomode)) {
/* If we want seperate STDOUT/STDERR, open a new FD */ /* If we want separate STDOUT/STDERR, open a new FD */
if(IS_SPCIO_SEPARATE(iomode)) { if(IS_SPCIO_SEPARATE(iomode)) {
if((stderrfd=open(channel->wires[STDERR]->slave_name, O_RDWR))<0) { if((stderrfd=open(channel->wires[STDERR]->slave_name, O_RDWR))<0) {
SPC_Error(SPC_Cannot_Open_Slave, SPC_Error(SPC_Cannot_Open_Slave,

View file

@ -157,7 +157,7 @@ _DtBasename( const char *s )
/******************************************************************************* /*******************************************************************************
* _DtPathString -- returns the path portion of the "host:/path" string * _DtPathString -- returns the path portion of the "host:/path" string
* passed in as a parameter. * passed in as a parameter.
* The incomming string is assumed to be in : "[host:]/path format. * The incoming string is assumed to be in : "[host:]/path format.
* NOTE: a FULL path name is required. * NOTE: a FULL path name is required.
******************************************************************************/ ******************************************************************************/
char * char *
@ -192,7 +192,7 @@ _DtPathname( const char *s)
* _DtDirname -- returns the directory portion of the file * _DtDirname -- returns the directory portion of the file
* path string passed in as a parameter. The original string * path string passed in as a parameter. The original string
* may be modified to remove trailing slashes. * may be modified to remove trailing slashes.
* The incomming string is assumed to be in : "[host:/]dir/file" format. * The incoming string is assumed to be in : "[host:/]dir/file" format.
******************************************************************************/ ******************************************************************************/
char * char *
_DtDirname( const char *s) _DtDirname( const char *s)
@ -1102,7 +1102,7 @@ _DtActInvRecT *_DtActAllocInvRec()
* *
* _DtActFreeChildRec() * _DtActFreeChildRec()
* *
* Completely free the contents of, and free the existance of a childRec. * Completely free the contents of, and free the existence of a childRec.
* *
*****************************************************************************/ *****************************************************************************/

View file

@ -162,7 +162,7 @@ _DtInitializeCommandInvoker(
* *
* Notes: * Notes:
* *
* This function must be preceeded by a call to * This function must be preceded by a call to
* "_DtInitializeCommandInvoker". * "_DtInitializeCommandInvoker".
* *
*****************************************************************************/ *****************************************************************************/

View file

@ -582,7 +582,7 @@ read_line (
* Description: * Description:
* *
* This function removes the slashes from a string unless the slash * This function removes the slashes from a string unless the slash
* is preceeded by a slash. It also remove whitespace from the end * is preceded by a slash. It also remove whitespace from the end
* of the string. * of the string.
* *
* Synopsis: * Synopsis:

View file

@ -252,7 +252,7 @@ void * _DtUtilDelHash(DtHashTbl t, const unsigned char * key)
return(NULL); /* not found */ return(NULL); /* not found */
} }
/* tmp now points to entry marked for deletion, prev to /* tmp now points to entry marked for deletion, prev to
item preceeding in bucket chain or NULL if tmp is first. item preceding in bucket chain or NULL if tmp is first.
remove from bucket chain first.... remove from bucket chain first....

View file

@ -348,7 +348,7 @@ char *_DtEnv_tt_file_netfile(
ttfreeAndNull( fragList[hitIdx].pathFragMapped ); ttfreeAndNull( fragList[hitIdx].pathFragMapped );
/* /*
* Since the cache is 100% full, ocassionally reset * Since the cache is 100% full, occasionally reset
* everyone's cacheHit rate so entries that were only * everyone's cacheHit rate so entries that were only
* popular long ago don't get locked in. * popular long ago don't get locked in.
*/ */
@ -574,7 +574,7 @@ char *_DtEnv_tt_host_netfile_file(
ttfreeAndNull( fragList[hitIdx].pathFragMapped ); ttfreeAndNull( fragList[hitIdx].pathFragMapped );
/* /*
* Since the cache is 100% full, ocassionally reset * Since the cache is 100% full, occasionally reset
* everyone's cacheHit rate so entries that were only * everyone's cacheHit rate so entries that were only
* popular long ago don't get locked in. * popular long ago don't get locked in.
*/ */
@ -701,7 +701,7 @@ static char **_DtEnvGetMapList(
mapList = (char **) malloc( sizeof(char *) * (availListSize) ); mapList = (char **) malloc( sizeof(char *) * (availListSize) );
/* /*
* Break up the colon seperated string into an indexable array. * Break up the colon separated string into an indexable array.
*/ */
tmpPtr = strdup(mapListStr); /* work copy for strtok */ tmpPtr = strdup(mapListStr); /* work copy for strtok */

View file

@ -73,7 +73,7 @@ static void _EnvAdd (char *, char *, unsigned int);
* NOTES on an application's environ(5): * NOTES on an application's environ(5):
* *
* The environment variable is an array of NULL-terminated strings. * The environment variable is an array of NULL-terminated strings.
* char **environ is defined in crt.o and is publically extern-ed to * char **environ is defined in crt.o and is publicly extern-ed to
* all applications. There is one such variable per UN*X application. * all applications. There is one such variable per UN*X application.
* *
* To deference an environment string, as in the debugger, use: * To deference an environment string, as in the debugger, use:

View file

@ -45,7 +45,7 @@
#include <langinfo.h> #include <langinfo.h>
#include <Dt/Collate.h> #include <Dt/Collate.h>
#ifdef sco /* XPG4isms comming soon */ #ifdef sco /* XPG4isms coming soon */
#ifndef _NL_DIRECT #ifndef _NL_DIRECT
#define _NL_DIRECT #define _NL_DIRECT
typedef int nl_direct; typedef int nl_direct;

View file

@ -248,7 +248,7 @@ _DtTermPrimBufferFreeBuffer
** **
** NOTE: ** NOTE:
** Given this implementation, the memory allocated to the buffer will ** Given this implementation, the memory allocated to the buffer will
** never decrease it simply increases to accomodate the largest size ** never decrease it simply increases to accommodate the largest size
** that has ever been requested. ** that has ever been requested.
*/ */
void void

View file

@ -1009,7 +1009,7 @@ _DtTermPrimBufferEraseWc
** at this point, startCharInfo points to the first character ** at this point, startCharInfo points to the first character
** to erase, and stopCharInfo points to the last character ** to erase, and stopCharInfo points to the last character
** we want to erase, make sure there is enough space between ** we want to erase, make sure there is enough space between
** the two to accomodate the replacement spaces... ** the two to accommodate the replacement spaces...
*/ */
lengthErase = stopCol - startCol + 1; lengthErase = stopCol - startCol + 1;
lengthInc = lengthErase - (stopCharInfo.u.pwc - startCharInfo.u.pwc + 1); lengthInc = lengthErase - (stopCharInfo.u.pwc - startCharInfo.u.pwc + 1);

View file

@ -1318,7 +1318,7 @@ buildDangleBuffer
*dangleBufferLen = bufferLen + *mbPartialCharLen - writeLen; *dangleBufferLen = bufferLen + *mbPartialCharLen - writeLen;
*dangleBuffer = (unsigned char *) XtMalloc(*dangleBufferLen); *dangleBuffer = (unsigned char *) XtMalloc(*dangleBufferLen);
/* copy over the unwritten part of the orignal buffer... */ /* copy over the unwritten part of the original buffer... */
(void) memmove(*dangleBuffer, buffer + writeLen, bufferLen - writeLen); (void) memmove(*dangleBuffer, buffer + writeLen, bufferLen - writeLen);
if (*mbPartialCharLen) { if (*mbPartialCharLen) {
(void) memmove(*dangleBuffer + bufferLen - writeLen, mbPartialChar, (void) memmove(*dangleBuffer + bufferLen - writeLen, mbPartialChar,

View file

@ -578,7 +578,7 @@ insertWcharValue(
* data - the data, the size of the data * data - the data, the size of the data
* *
* Returns 0 - contents were set sucessfully * Returns 0 - contents were set sucessfully
* !0 - an error occured while setting the contents * !0 - an error occurred while setting the contents
* *
***************************************************************************/ ***************************************************************************/
@ -641,7 +641,7 @@ DtEditorSetContents(
* filename - name of the file to read * filename - name of the file to read
* *
* Returns 0 - contents were loaded sucessfully * Returns 0 - contents were loaded sucessfully
* !0 - an error occured while loading the contents * !0 - an error occurred while loading the contents
* *
***************************************************************************/ ***************************************************************************/
@ -675,7 +675,7 @@ DtEditorSetContentsFromFile(
* data - the data, the size of the data * data - the data, the size of the data
* *
* Returns 0 - contents were set sucessfully * Returns 0 - contents were set sucessfully
* !0 - an error occured while setting the contents * !0 - an error occurred while setting the contents
* *
***************************************************************************/ ***************************************************************************/
@ -734,7 +734,7 @@ DtEditorAppend(
* filename - name of the file to read * filename - name of the file to read
* *
* Returns 0 - contents were appended sucessfully * Returns 0 - contents were appended sucessfully
* !0 - an error occured while appending the contents * !0 - an error occurred while appending the contents
* *
***************************************************************************/ ***************************************************************************/
@ -768,7 +768,7 @@ DtEditorAppendFromFile(
* data - the data, the size of the data * data - the data, the size of the data
* *
* Returns 0 - contents were set sucessfully * Returns 0 - contents were set sucessfully
* !0 - an error occured while setting the contents * !0 - an error occurred while setting the contents
* *
***************************************************************************/ ***************************************************************************/
@ -827,7 +827,7 @@ DtEditorInsert(
* filename - name of the file to read * filename - name of the file to read
* *
* Returns 0 - contents were inserted sucessfully * Returns 0 - contents were inserted sucessfully
* !0 - an error occured while inserting the contents * !0 - an error occurred while inserting the contents
* *
***************************************************************************/ ***************************************************************************/
@ -867,7 +867,7 @@ DtEditorInsertFromFile(
* *
* *
* Returns 0 - the portion was replaced sucessfully * Returns 0 - the portion was replaced sucessfully
* !0 - an error occured while replacing the portion * !0 - an error occurred while replacing the portion
* *
***************************************************************************/ ***************************************************************************/
@ -955,7 +955,7 @@ DtEditorReplace(
* filename - local name of the file to read * filename - local name of the file to read
* *
* Returns 0 - contents were inserted sucessfully * Returns 0 - contents were inserted sucessfully
* !0 - an error occured while inserting the contents * !0 - an error occurred while inserting the contents
* *
***************************************************************************/ ***************************************************************************/
@ -1647,7 +1647,7 @@ getWcharValue(
* reports there are unsaved changes. * reports there are unsaved changes.
* *
* Returns 0 - contents were retrieved sucessfully * Returns 0 - contents were retrieved sucessfully
* !0 - an error occured while retrieving the contents * !0 - an error occurred while retrieving the contents
* *
* The structure passed in will be set according to the * The structure passed in will be set according to the
* requested format: * requested format:

View file

@ -5858,13 +5858,13 @@ Center (FormatData *data,
* and manipulation needed to do the job. * and manipulation needed to do the job.
* *
* Words are kept in wordbuf[] without trailing nulls. It is large enough * Words are kept in wordbuf[] without trailing nulls. It is large enough
* to accomodate two lines' worth of words plus wrap around to start a new * to accommodate two lines' worth of words plus wrap around to start a new
* word (which might be as big as a line) without overwriting old words * word (which might be as big as a line) without overwriting old words
* not yet dumped. wordcp -> next free location in wordbuf[]; * not yet dumped. wordcp -> next free location in wordbuf[];
* wordcpwrap -> last place a new word is allowed to start. * wordcpwrap -> last place a new word is allowed to start.
* *
* Words are pointed to and described by word[] structures. The array is * Words are pointed to and described by word[] structures. The array is
* big enough to accomodate two lines' worth of words, assuming each word * big enough to accommodate two lines' worth of words, assuming each word
* takes at least two characters (including separator). wordbase and * takes at least two characters (including separator). wordbase and
* wordlimit are the bounds of the array. wordfirst remembers the first * wordlimit are the bounds of the array. wordfirst remembers the first
* word in the array not yet printed. wordat is the word being worked on * word in the array not yet printed. wordat is the word being worked on

View file

@ -149,7 +149,7 @@ DtEditorInvokeSpellDialog(
/* /*
* The filter was started successfully. * The filter was started successfully.
* Initialize the Spell dialog and get ready to receive * Initialize the Spell dialog and get ready to receive
* the list of mispelled words. * the list of misspelled words.
*/ */
_DtEditorSearch(pPriv, True, True); _DtEditorSearch(pPriv, True, True);
_DtTurnOnHourGlass(M_search_dialog(pPriv)); _DtTurnOnHourGlass(M_search_dialog(pPriv));

View file

@ -268,7 +268,7 @@ _csa_range_to_iso8601(time_t start, time_t end, char *buf)
{ {
char tmpstr1[BUFSIZ], tmpstr2[BUFSIZ]; char tmpstr1[BUFSIZ], tmpstr2[BUFSIZ];
/* validate: ticks must be +ve, and end can't preceed start */ /* validate: ticks must be +ve, and end can't precede start */
if ((start < 0) || (end < 0) || (end < start)) { if ((start < 0) || (end < 0) || (end < start)) {
return(-1); return(-1);
} }

View file

@ -1875,7 +1875,7 @@ process_chroot_logins(void)
} }
/* /*
* establish_user_environment - Set up the new users enviornment * establish_user_environment - Set up the new users environment
*/ */
static void static void

View file

@ -37,7 +37,7 @@ The application should not free or modify the string returned.
.LP .LP
The The
.I pamh .I pamh
arguement is the argument is the
.SM PAM .SM PAM
handle obtained by a prior call to handle obtained by a prior call to
.BR pam_start(\|) . .BR pam_start(\|) .

View file

@ -2156,7 +2156,7 @@ _tt_garbage_collect_1(void * /*NOTUSED*/,
// //
// Collect the garbage and delete old sessions in // Collect the garbage and delete old sessions in
// a seperate thread. As soon as the thread is started // a separate thread. As soon as the thread is started
// this function returns and the dbserver is again // this function returns and the dbserver is again
// processing user requests. // processing user requests.
id = _tt_run_garbage_collect(OPT_GARBAGE_IN_PARALLEL); id = _tt_run_garbage_collect(OPT_GARBAGE_IN_PARALLEL);

View file

@ -502,7 +502,7 @@ _tt_oid_accessp(int _isfd, char *rec, int mode)
/* check access request against permissions */ /* check access request against permissions */
switch (category) { switch (category) {
case DM_USER: case DM_USER:
// The owner is allowed all priviledges // The owner is allowed all privileges
return 1; return 1;
/* this left here in case we want to check someday /* this left here in case we want to check someday
* switch (mode) { * switch (mode) {

View file

@ -442,7 +442,7 @@ edit_hilite_obj(msg)
/* /*
* Make a ToolTalk spec out of the selected text in this textpane. Once * Make a ToolTalk spec out of the selected text in this textpane. Once
* the spec is succesfully created and written to a database, wrap the * the spec is successfully created and written to a database, wrap the
* text with C-style comments in order to delimit the object and send out * text with C-style comments in order to delimit the object and send out
* a notification that an object has been created in this file. * a notification that an object has been created in this file.
*/ */

View file

@ -64,7 +64,7 @@ _Tt_c_mp::
// //
// Returns: // Returns:
// TT_OK // TT_OK
// TT_ERR_NOMP - the initial session could not be initialised. // TT_ERR_NOMP - the initial session could not be initialized.
Tt_status _Tt_c_mp:: Tt_status _Tt_c_mp::
c_init() c_init()

View file

@ -181,7 +181,7 @@ init(_Tt_string dt_handle, _Tt_dt_type /* t */)
} }
// I/O error handler. Longjmp back to before the error occured. // I/O error handler. Longjmp back to before the error occurred.
int _Tt_desktop:: int _Tt_desktop::
io_error_proc(void *) io_error_proc(void *)
{ {

View file

@ -144,7 +144,7 @@
* OPT_AUTOMOUNT_PATH_FIX - set for systems with autmounters that do * OPT_AUTOMOUNT_PATH_FIX - set for systems with autmounters that do
* not treat /tmp_mnt/nfs/... the same as /nfs/... in terms of which * not treat /tmp_mnt/nfs/... the same as /nfs/... in terms of which
* can tickle the automounter. For many systems, a mount can only be * can tickle the automounter. For many systems, a mount can only be
* tickled into existance using /nfs/... This is bad since calls to * tickled into existence using /nfs/... This is bad since calls to
* say realpath() will hand back /tmp_mnt/nfs/... which is for all * say realpath() will hand back /tmp_mnt/nfs/... which is for all
* practical purposes temporary. * practical purposes temporary.
* *
@ -174,7 +174,7 @@
* files prior to exiting. * files prior to exiting.
* *
* OPT_GARBAGE_IN_PARALLEL - If TRUE, enables garbage collection * OPT_GARBAGE_IN_PARALLEL - If TRUE, enables garbage collection
* in a seperate thread (or process). If FALSE * in a separate thread (or process). If FALSE
* perform garbage collection in the same * perform garbage collection in the same
* thread (or process). * thread (or process).
*/ */

View file

@ -506,7 +506,7 @@ entry(const char *argskey, _Tt_entry_pt func, ...)
} break; } break;
// this is an index for a particular argument // this is an index for a particular argument
// We have a seperate case for this in order to // We have a separate case for this in order to
// factor out the test below. // factor out the test below.
case ARG_INTEGER: { case ARG_INTEGER: {
int arg_index; int arg_index;

View file

@ -37,7 +37,7 @@
/* /*
* Attempts to find the best path to a dynamic library named by libname. * Attempts to find the best path to a dynamic library named by libname.
* If succesful then 1 is returned and path will be set to the path to * If successful then 1 is returned and path will be set to the path to
* the library. Otherwise 0 is returned. This function will use the * the library. Otherwise 0 is returned. This function will use the
* appropiate combination of LD_LIBRARY_PATH and the required hardcoded * appropiate combination of LD_LIBRARY_PATH and the required hardcoded
* paths to perform the search. * paths to perform the search.

View file

@ -59,7 +59,7 @@ static void remove_from_chain(); /* used by _flrec_wrrec() */
* Output params: * Output params:
* recnum record number of the new record * recnum record number of the new record
* *
* Returns 0 if record was written succesfully, or -1 if any error. * Returns 0 if record was written successfully, or -1 if any error.
*/ */
/*ARGSUSED*/ /*ARGSUSED*/
@ -127,7 +127,7 @@ _flrec_write(fcb, record, recnum, reclen)
* Output params: * Output params:
* record record buffer is filled with data * record record buffer is filled with data
* *
* Returns 0 if record was read succesfully, or error code if any error. * Returns 0 if record was read successfully, or error code if any error.
*/ */
int int
@ -191,7 +191,7 @@ _fl_getpos(fcb, recnum)
* record new record * record new record
* int reclen (NOT USED) * int reclen (NOT USED)
* *
* Returns 0 if record was rewritten succesfully, or error code if any error. * Returns 0 if record was rewritten successfully, or error code if any error.
*/ */
/*ARGSUSED*/ /*ARGSUSED*/
@ -238,7 +238,7 @@ _flrec_rewrite(fcb, record, recnum, reclen)
* FCB File Control Block * FCB File Control Block
* recnum record number of the record * recnum record number of the record
* *
* Returns 0 if record was rewritten succesfully, or error code if any error. * Returns 0 if record was rewritten successfully, or error code if any error.
*/ */
int int
@ -293,7 +293,7 @@ _flrec_delete(fcb, recnum)
* record record buffer * record record buffer
* int reclen (NOT USED) * int reclen (NOT USED)
* *
* Returns 0 if record was written succesfully, or error code if any error. * Returns 0 if record was written successfully, or error code if any error.
* *
* Note that _flrec_wrrec() commits updates and syncs the FCB to avoid * Note that _flrec_wrrec() commits updates and syncs the FCB to avoid
* buffer pool overflow. * buffer pool overflow.

View file

@ -159,7 +159,7 @@ isrepair(isfname, verbose)
maxreclen = ldint(cntlpg + CP_MAXRECLEN_OFF); maxreclen = ldint(cntlpg + CP_MAXRECLEN_OFF);
/* /*
* Check for maxreclen field value of -1. This could have occured due to * Check for maxreclen field value of -1. This could have occurred due to
* ISMAXRECLEN being incorrectly set to 65535 in an earlier version. If * ISMAXRECLEN being incorrectly set to 65535 in an earlier version. If
* this field is -1 and it's a variable length record, reset to the new * this field is -1 and it's a variable length record, reset to the new
* value of MAXRECLEN. This means that this field will be repaired when * value of MAXRECLEN. This means that this field will be repaired when

View file

@ -62,7 +62,7 @@ static _istail_read();
* Output params: * Output params:
* recnum record number of the new record * recnum record number of the new record
* *
* Returns 0 if record was written succesfully, or -1 if any error. * Returns 0 if record was written successfully, or -1 if any error.
*/ */
/*ARGSUSED*/ /*ARGSUSED*/
@ -137,7 +137,7 @@ _vlrec_write(fcb, record, recnum, reclen)
* Output params: * Output params:
* record record buffer is filled with data * record record buffer is filled with data
* *
* Returns 0 if record was read succesfully, or error code if any error. * Returns 0 if record was read successfully, or error code if any error.
*/ */
int int
@ -211,7 +211,7 @@ _vl_getpos(fcb, recnum)
* record new record * record new record
* int reclen (NOT USED) * int reclen (NOT USED)
* *
* Returns 0 if record was rewritten succesfully, or error code if any error. * Returns 0 if record was rewritten successfully, or error code if any error.
*/ */
/*ARGSUSED*/ /*ARGSUSED*/
@ -268,7 +268,7 @@ _vlrec_rewrite(fcb, record, recnum, reclen)
* FCB File Control Block * FCB File Control Block
* recnum record number of the record * recnum record number of the record
* *
* Returns 0 if record was rewritten succesfully, or error code if any error. * Returns 0 if record was rewritten successfully, or error code if any error.
*/ */
int int
@ -330,7 +330,7 @@ _vlrec_delete(fcb, recnum)
* record record buffer * record record buffer
* int reclen (NOT USED) * int reclen (NOT USED)
* *
* Returns 0 if record was written succesfully, or error code if any error. * Returns 0 if record was written successfully, or error code if any error.
* *
* Note that _vlrec_wrrec() commits updates and syncs the FCB to avoid * Note that _vlrec_wrrec() commits updates and syncs the FCB to avoid
* buffer pool overflow. * buffer pool overflow.

View file

@ -63,7 +63,7 @@ _Tt_s_message()
// The active message count is just to enforce the limit // The active message count is just to enforce the limit
// on the number of active messages. Doing this in the // on the number of active messages. Doing this in the
// constructor was expedient, but because we construct // constructor was expedient, but because we construct
// a message before _tt_mp is initialised, we have // a message before _tt_mp is initialized, we have
// to omit it in that case. // to omit it in that case.
if (_tt_s_mp) { if (_tt_s_mp) {
_tt_s_mp->active_messages++; _tt_s_mp->active_messages++;

View file

@ -1303,7 +1303,7 @@ set_timeout_for_message(const _Tt_message &m)
// //
// Called by _Tt_mp::service_timeout when a timeout event happend with // Called by _Tt_mp::service_timeout when a timeout event happened with
// the given timeout. This function checks to see whether the timeout is // the given timeout. This function checks to see whether the timeout is
// equal to or greater than the internal timeout (which is only set if we // equal to or greater than the internal timeout (which is only set if we
// signalled the client procid for a new message). If the timeout exceeds // signalled the client procid for a new message). If the timeout exceeds

View file

@ -406,7 +406,7 @@ ProxyInit(Display *dpy, Window dsdm_win)
InitializeByteOrder(); InitializeByteOrder();
/* make motif_drag_win and proxy_win persistant */ /* make motif_drag_win and proxy_win persistent */
XSetCloseDownMode(dpy, RetainPermanent); XSetCloseDownMode(dpy, RetainPermanent);
XInternAtoms(dpy, atom_names, NUM_ATOMS, False, atoms); XInternAtoms(dpy, atom_names, NUM_ATOMS, False, atoms);

View file

@ -221,7 +221,7 @@ ab_position_window(
NULL); NULL);
/* /*
* Adjust geometry values to accomodate window-frame * Adjust geometry values to accommodate window-frame
* *
* Also, if this routine is called before a window's contents have * Also, if this routine is called before a window's contents have
* been managed, its current available dimensions may be misleadingly * been managed, its current available dimensions may be misleadingly

View file

@ -1194,7 +1194,7 @@ interpose_button_event(
{ {
/* Check to see if the drag occurred while we are waiting for hte /* Check to see if the drag occurred while we are waiting for hte
* double-click interval to expire. If so, then if the drag is * double-click interval to expire. If so, then if the drag is
* outside the threshhold, cancel the double-click and initiate * outside the threshold, cancel the double-click and initiate
* a move or resize. * a move or resize.
*/ */
if (d_click->waiting) if (d_click->waiting)

View file

@ -656,7 +656,7 @@ term_execute_command(CG_SUBCOMMAND cmd_code, STRING cmd, STRING argv[])
watchdog_pid = fork(); watchdog_pid = fork();
if (watchdog_pid == (pid_t)-1) if (watchdog_pid == (pid_t)-1)
{ {
/* error occured! */ /* error occurred! */
util_printf_err("Could not create subprocess: %s\n", util_printf_err("Could not create subprocess: %s\n",
strerror(errno)); strerror(errno));
watchdog_pid = INVALID_PID; watchdog_pid = INVALID_PID;
@ -749,7 +749,7 @@ term_execute_command(CG_SUBCOMMAND cmd_code, STRING cmd, STRING argv[])
/*printf("frontline: child done!\n");*/ /*printf("frontline: child done!\n");*/
if (rc_pid == INVALID_PID) if (rc_pid == INVALID_PID)
{ {
/* damn! an error occured... */ /* damn! an error occurred... */
/*printf("frontline: error waiting for child! (%s)\n", /*printf("frontline: error waiting for child! (%s)\n",
util_strsafe(strerror(errno)));*/ util_strsafe(strerror(errno)));*/
status_code = CG_STATUS_ERROR; status_code = CG_STATUS_ERROR;

View file

@ -404,7 +404,7 @@ pal_get_editable_obj_info(
* "editable" object, else directly compare the type & subtype. * "editable" object, else directly compare the type & subtype.
* *
* Note: the palitem structure test has precedence in order to * Note: the palitem structure test has precedence in order to
* accomodate the high-level types which map to multiple * accommodate the high-level types which map to multiple
* subtypes. i.e. If we have a "Radio Box", we want to map to * subtypes. i.e. If we have a "Radio Box", we want to map to
* the "Choice" editable object 'super' type. * the "Choice" editable object 'super' type.
*/ */

View file

@ -1192,7 +1192,7 @@ in_str_dup(
} }
/* /*
** Transform a literal internal (byte-correct) string into a form acceptible ** Transform a literal internal (byte-correct) string into a form acceptable
** to gencat ** to gencat
*/ */
static void static void

View file

@ -284,7 +284,7 @@ abmfP_parse_c_file(FILE *cFile, CSegArray *segmentsOutPtr)
if ((rc < 0) && (rc != ERR_EOF)) if ((rc < 0) && (rc != ERR_EOF))
{ {
/* failure occured */ /* failure occurred */
segArray->numSegs = 0; segArray->numSegs = 0;
return_code(rc); return_code(rc);
} }

View file

@ -497,7 +497,7 @@ objP_dispatch_event(OBJ_EVENT *event)
if (ignoreEvents) if (ignoreEvents)
{ {
/* /*
* A critical error has occured (e.g., an event loop). Just * A critical error has occurred (e.g., an event loop). Just
* pretend everything is hunky-dory and ignore dispatch requests. * pretend everything is hunky-dory and ignore dispatch requests.
*/ */
iReturn= OK; iReturn= OK;

View file

@ -1553,7 +1553,7 @@ abio_close_block(FILE * outFile)
} }
/* /*
* Write a character to the output file, preceeded by the indent string if we * Write a character to the output file, preceded by the indent string if we
* are on a new line. * are on a new line.
*/ */
int int
@ -1567,7 +1567,7 @@ abio_putc(FILE * outFile, char c)
} }
/* /*
* Write characters to the output file, preceeded by the indent string if we * Write characters to the output file, preceded by the indent string if we
* are on a new line. * are on a new line.
*/ */
int int

View file

@ -123,7 +123,7 @@ int basevals[4] = { 2, 8, 10, 16 } ;
int left_pos[BCOLS] = { 3, 2, 1, 0 } ; /* Left positions. */ int left_pos[BCOLS] = { 3, 2, 1, 0 } ; /* Left positions. */
int right_pos[BCOLS] = { 0, 1, 2, 3 } ; /* "Right" positions. */ int right_pos[BCOLS] = { 0, 1, 2, 3 } ; /* "Right" positions. */
/* Valid keys when an error condition has occured. */ /* Valid keys when an error condition has occurred. */
/* MEM KEYS clr clr QUIT REDRAW */ /* MEM KEYS clr clr QUIT REDRAW */
char validkeys[MAXVKEYS] = { 'm', 'k', '\177', '\013', 'q', '\f' } ; char validkeys[MAXVKEYS] = { 'm', 'k', '\177', '\013', 'q', '\f' } ;
@ -378,7 +378,7 @@ do_dtcalc(int argc, char **argv)
v->progname = argv[0] ; /* Save programs name. */ v->progname = argv[0] ; /* Save programs name. */
v->appname = NULL ; v->appname = NULL ;
init_cmdline_opts() ; /* Initialise command line option strings. */ init_cmdline_opts() ; /* Initialize command line option strings. */
if ((ptr = strrchr(argv[0], '/')) != NULL) if ((ptr = strrchr(argv[0], '/')) != NULL)
read_str(&v->appname, ptr+1) ; read_str(&v->appname, ptr+1) ;
@ -412,7 +412,7 @@ do_dtcalc(int argc, char **argv)
make_items() ; /* Create server images and fir frames. */ make_items() ; /* Create server images and fir frames. */
if(v->display[0] == 0) if(v->display[0] == 0)
do_clear() ; /* Initialise and clear display. */ do_clear() ; /* Initialize and clear display. */
if (v->rstate == TRUE) /* Show the memory register window? */ if (v->rstate == TRUE) /* Show the memory register window? */
{ {
@ -949,7 +949,7 @@ init_vars(void)
void void
initialise(void) initialize(void)
{ {
int i ; int i ;

View file

@ -524,7 +524,7 @@ struct calcVars { /* Calctool variables and options. */
int MPtresults[3][MP_SIZE] ; /* Current trigonometric results. */ int MPtresults[3][MP_SIZE] ; /* Current trigonometric results. */
enum base_type base ; /* Current base: BIN, OCT, DEC or HEX. */ enum base_type base ; /* Current base: BIN, OCT, DEC or HEX. */
enum fcp_type curwin ; /* Window current event occured in. */ enum fcp_type curwin ; /* Window current event occurred in. */
enum fcp_type pending_win ; /* Window that pending op came from. */ enum fcp_type pending_win ; /* Window that pending op came from. */
enum mode_type modetype ; /* Current calculator mode. */ enum mode_type modetype ; /* Current calculator mode. */
enum mode_type pending_mode ; /* Mode for pending op. */ enum mode_type pending_mode ; /* Mode for pending op. */
@ -660,7 +660,7 @@ void grey_button P((int, int, int)) ;
void grey_buttons P((enum base_type)) ; void grey_buttons P((enum base_type)) ;
void handle_menu_selection P((int, int)) ; void handle_menu_selection P((int, int)) ;
void handle_selection P(()) ; void handle_selection P(()) ;
void initialise P(()) ; void initialize P(()) ;
void init_cmdline_opts P(()) ; void init_cmdline_opts P(()) ;
void init_graphics P(()) ; void init_graphics P(()) ;
void init_options P(()) ; void init_options P(()) ;

View file

@ -564,11 +564,11 @@ do_calc(void) /* Perform arithmetic calculation and display result. */
void void
do_clear(void) /* Clear the calculator display and re-initialise. */ do_clear(void) /* Clear the calculator display and re-initialize. */
{ {
clear_display() ; clear_display() ;
if (v->error) set_item(DISPLAYITEM, "") ; if (v->error) set_item(DISPLAYITEM, "") ;
initialise() ; initialize() ;
} }

View file

@ -46,7 +46,7 @@ extern Vars v ; /* Calctool variables and options. */
void init_mess P(()) ; void init_mess P(()) ;
/* The following are all the strings used by the dtcalc program. /* The following are all the strings used by the dtcalc program.
* They are initialised in init_text() to the local language equivalents. * They are initialized in init_text() to the local language equivalents.
*/ */
char *base_str[MAXBASES] ; char *base_str[MAXBASES] ;

View file

@ -1496,7 +1496,7 @@ map_browse_menu(Widget menu, XtPointer client_data, XtPointer call_data)
/* /*
* This a seperate routine so that it may be called when a new name is added * This a separate routine so that it may be called when a new name is added
* from the edit list * from the edit list
*/ */
extern void extern void
@ -1573,7 +1573,7 @@ make_browse_menu(Calendar *c) {
XmString xmstr; XmString xmstr;
/* /*
* This needs to be a seperate routine so it can be called when the * This needs to be a separate routine so it can be called when the
* edit list changes the browse menu * edit list changes the browse menu
*/ */
update_browse_menu_names(c); update_browse_menu_names(c);

View file

@ -171,7 +171,7 @@ merge_old_values(Dtcm_appointment *original, Dtcm_appointment *new) {
if (new_attrs == 0) if (new_attrs == 0)
return; return;
/* realloc the attrs array to be large enough to accomodate the new /* realloc the attrs array to be large enough to accommodate the new
attibutes */ attibutes */
new->attrs = (CSA_attribute *) realloc(new->attrs, (dest_attr_num + new_attrs) * sizeof(CSA_attribute)); new->attrs = (CSA_attribute *) realloc(new->attrs, (dest_attr_num + new_attrs) * sizeof(CSA_attribute));

View file

@ -1396,7 +1396,7 @@ generate_recurrence_rule(Dtcm_appointment *appt, int version) {
* This function will scan for X number of appointments in the file and add * This function will scan for X number of appointments in the file and add
* each to the linked list unless the validation routine returns an error. * each to the linked list unless the validation routine returns an error.
* If this happens, the invalid appointment is still added to the list so the * If this happens, the invalid appointment is still added to the list so the
* calling routine can do further processing if neccessary, but the remaining * calling routine can do further processing if necessary, but the remaining
* appointments in the file (if any) are not read. * appointments in the file (if any) are not read.
*/ */
extern Validate_op extern Validate_op

View file

@ -117,7 +117,7 @@ ReToString(
/* /*
* Takes an array of numbers, converts them back into their string * Takes an array of numbers, converts them back into their string
* type (e.g. SU 1W etc) and puts them into a string buffer with end * type (e.g. SU 1W etc) and puts them into a string buffer with end
* marks as necessary, seperated by spaces. * marks as necessary, separated by spaces.
*/ */
static void static void
NumsToBuf( NumsToBuf(

View file

@ -1186,7 +1186,7 @@ _DtCm_deregister_callback_4_svc(Registration_4 *r, struct svc_req *svcrq)
* 2) if the (transient) program, version, & procnum match * 2) if the (transient) program, version, & procnum match
* the original registration, and * the original registration, and
* 3) if the process id of the client matches the * 3) if the process id of the client matches the
* orignal registration * original registration
* *
* ... only then is it ok to decommission the ticket. * ... only then is it ok to decommission the ticket.
*/ */

View file

@ -936,7 +936,7 @@ proc EndSimpleList {columns type parent} {
# Horiz(ontal) list, don't put the BLOCK's id on the list's FORM # Horiz(ontal) list, don't put the BLOCK's id on the list's FORM
# yet - we need to collect them all and lay them out afterward in # yet - we need to collect them all and lay them out afterward in
# EndSimpleList; if we're an Inline list, don't create a BLOCK, we'll # EndSimpleList; if we're an Inline list, don't create a BLOCK, we'll
# add punctuation to seperate them in EndMember # add punctuation to separate them in EndMember
proc StartMember {id type} { proc StartMember {id type} {
global nextId listStack firstString listMembers global nextId listStack firstString listMembers

View file

@ -625,7 +625,7 @@ typedef struct Interp {
* Tcl_Eval are done. * Tcl_Eval are done.
* ERR_IN_PROGRESS: Non-zero means an error unwind is already in progress. * ERR_IN_PROGRESS: Non-zero means an error unwind is already in progress.
* Zero means a command proc has been invoked since last * Zero means a command proc has been invoked since last
* error occured. * error occurred.
* ERR_ALREADY_LOGGED: Non-zero means information has already been logged * ERR_ALREADY_LOGGED: Non-zero means information has already been logged
* in $errorInfo for the current Tcl_Eval instance, * in $errorInfo for the current Tcl_Eval instance,
* so Tcl_Eval needn't log it (used to implement the * so Tcl_Eval needn't log it (used to implement the

View file

@ -598,7 +598,7 @@ Tcl_OpenFileChannel(interp, fileName, modeString, permissions)
break; break;
default: default:
/* /*
* This may occurr if modeString was "", for example. * This may occur if modeString was "", for example.
*/ */
panic("Tcl_OpenFileChannel: invalid mode value"); panic("Tcl_OpenFileChannel: invalid mode value");
return NULL; return NULL;

View file

@ -396,7 +396,7 @@ TclSpawnPipeline(interp, pidPtr, numPids, argc, argv, inputFile,
return 1; return 1;
/* /*
* An error occured, so we need to clean up any open pipes. * An error occurred, so we need to clean up any open pipes.
*/ */
error: error:

View file

@ -1628,7 +1628,7 @@ Tcl_DStringInit(dsPtr)
* Side effects: * Side effects:
* Length bytes from string (or all of string if length is less * Length bytes from string (or all of string if length is less
* than zero) are added to the current value of the string. Memory * than zero) are added to the current value of the string. Memory
* gets reallocated if needed to accomodate the string's new size. * gets reallocated if needed to accommodate the string's new size.
* *
*---------------------------------------------------------------------- *----------------------------------------------------------------------
*/ */
@ -1696,7 +1696,7 @@ Tcl_DStringAppend(dsPtr, string, length)
* Side effects: * Side effects:
* String is reformatted as a list element and added to the current * String is reformatted as a list element and added to the current
* value of the string. Memory gets reallocated if needed to * value of the string. Memory gets reallocated if needed to
* accomodate the string's new size. * accommodate the string's new size.
* *
*---------------------------------------------------------------------- *----------------------------------------------------------------------
*/ */

View file

@ -305,7 +305,7 @@ void parse_args(int argc, char *argv[], struct arguments *args)
argv++ ; argv++ ;
argc--; /* Skip the program name */ argc--; /* Skip the program name */
if (!strcmp(*argv,"-s")) { /* check for a set number */ if (!strcmp(*argv,"-s")) { /* check for a set number */
if (argc < 4) /* check for sufficient arguements */ if (argc < 4) /* check for sufficient arguments */
die(catgets(catderr,MS_DSPMSG,M_DSPMSG, "Usage: dtdspmsg [-s setno] <catname> <msgno> ['default' arg ... ]")); die(catgets(catderr,MS_DSPMSG,M_DSPMSG, "Usage: dtdspmsg [-s setno] <catname> <msgno> ['default' arg ... ]"));
argv++; argv++;
argc--; /* skip past the '-s' */ argc--; /* skip past the '-s' */
@ -316,7 +316,7 @@ void parse_args(int argc, char *argv[], struct arguments *args)
args->catname = *argv++; /* get the cat name */ args->catname = *argv++; /* get the cat name */
argc--; argc--;
if (!strcmp(*argv,"-s")) { /* check for a set number */ if (!strcmp(*argv,"-s")) { /* check for a set number */
if (argc < 3) /* check for sufficient arguements */ if (argc < 3) /* check for sufficient arguments */
die(catgets(catderr,MS_DSPMSG,M_DSPMSG, "Usage: dtdspmsg [-s setno] <catname> <msgno> ['default' arg ... ]")); die(catgets(catderr,MS_DSPMSG,M_DSPMSG, "Usage: dtdspmsg [-s setno] <catname> <msgno> ['default' arg ... ]"));
argv++; argv++;

View file

@ -1362,7 +1362,7 @@ main (
} }
/* /*
* So that select() errors cannot dominate, now behave as * So that select() errors cannot dominate, now behave as
* though only a timeout had occured. * though only a timeout had occurred.
*/ */
nfound = 0; nfound = 0;
} }
@ -1495,7 +1495,7 @@ main (
} }
/* /*
* So that select() data cannot dominate, now behave as * So that select() data cannot dominate, now behave as
* though only a timeout had occured. * though only a timeout had occurred.
*/ */
nfound = 0; nfound = 0;
} }

View file

@ -604,7 +604,7 @@ CurrentDirDropCallback(
/************************************************************************ /************************************************************************
* *
* CurrentDirIconCallback * CurrentDirIconCallback
* Callback function invoked upon an action occuring on an icon. * Callback function invoked upon an action occurring on an icon.
* *
************************************************************************/ ************************************************************************/

View file

@ -1306,7 +1306,7 @@ FlattenTree(
/************************************************************************ /************************************************************************
* *
* IconCallback * IconCallback
* Callback function invoked upon an action occuring on an icon. * Callback function invoked upon an action occurring on an icon.
* *
************************************************************************/ ************************************************************************/
@ -1748,7 +1748,7 @@ GetSelectedCount(
char * wsName; char * wsName;
Atom pCurrent; Atom pCurrent;
/* If the initiation of the drag occured upon an */ /* If the initiation of the drag occurred upon an */
/* already selected icon, check for a multiple drag. */ /* already selected icon, check for a multiple drag. */
if ((desktopRec == NULL) && FileIsSelected(fileMgrData, fileViewData)) if ((desktopRec == NULL) && FileIsSelected(fileMgrData, fileViewData))

View file

@ -1305,7 +1305,7 @@ FileManip(
break; break;
} }
/* If catmsg is NULL then one of the miscellanous error's occured. /* If catmsg is NULL then one of the miscellanous error's occurred.
* Set up a generic error message which will output the internal * Set up a generic error message which will output the internal
* error message. * error message.
*/ */

View file

@ -979,7 +979,7 @@ Create(
XtSetValues (file_mgr_rec->vertical_scroll_bar, args, 2); XtSetValues (file_mgr_rec->vertical_scroll_bar, args, 2);
/* Add an event handler to catch resizes occuring on the scrolled */ /* Add an event handler to catch resizes occurring on the scrolled */
/* window, in order to force a relayout of the icons. */ /* window, in order to force a relayout of the icons. */
XtAddEventHandler (file_mgr_rec->scroll_window, StructureNotifyMask, XtAddEventHandler (file_mgr_rec->scroll_window, StructureNotifyMask,

View file

@ -134,7 +134,7 @@ static XmGadget InputForGadget(
/************************************************************************ /************************************************************************
* *
* FileWindowExposeCallback * FileWindowExposeCallback
* Callback function invoked upon an exposure event occuring * Callback function invoked upon an exposure event occurring
* in the file display area. * in the file display area.
* *
************************************************************************/ ************************************************************************/
@ -266,7 +266,7 @@ FileWindowMapCallback(
/************************************************************************ /************************************************************************
* *
* FileWindowInputCallback * FileWindowInputCallback
* Callback function invoked upon input occuring in the * Callback function invoked upon input occurring in the
* file display area, file icon, or within a desktop icon. * file display area, file icon, or within a desktop icon.
* *
************************************************************************/ ************************************************************************/

View file

@ -2036,7 +2036,7 @@ RestoreSettingsFile( void )
else else
{ {
XtFree(dtPath); XtFree(dtPath);
return; /* we are comming up in a system mode (e.g. default) */ return; /* we are coming up in a system mode (e.g. default) */
} }

Some files were not shown because too many files have changed in this diff Show more