From 809c3d8bb6f62db32a78108f5a2554d89ba91ca7 Mon Sep 17 00:00:00 2001 From: chase Date: Sat, 26 May 2018 11:50:47 -0500 Subject: [PATCH] Spelling fixes --- cde/admin/IntegTools/dbTools/udbParseLib.awk | 4 ++-- cde/doc/C/guides/docbookGuide/book.sgm | 10 +++++----- cde/doc/C/guides/helpGuide/ch07.sgm | 2 +- cde/doc/C/guides/man/man1_dt/imsstart.sgm | 2 +- cde/doc/C/guides/man/man4/dtsrhanf.sgm | 2 +- cde/doc/C/guides/sysAdminGuide/ch16.sgm | 2 +- cde/doc/C/help/FPanel/Ref.sgm | 2 +- cde/doc/util/dbtoman/instant/browse.c | 2 +- cde/doc/util/dbtoman/instant/info.c | 2 +- cde/doc/util/dbtoman/instant/main.c | 2 +- cde/doc/util/dbtoman/instant/translate.h | 2 +- cde/historical/OPENBUGS | 8 ++++---- .../doc/C/guides/man/PR3X_Xm/PrtSetup.sgm | 2 +- cde/lib/DtHelp/AccessCCDF.c | 4 ++-- cde/lib/DtHelp/CCDFUtil.c | 2 +- cde/lib/DtHelp/GlobSearch.c | 20 +++++++++---------- cde/lib/DtHelp/Messages.c | 2 +- cde/lib/DtHelp/Print.c | 4 ++-- cde/lib/DtHelp/il/ilcomplzw.c | 2 +- cde/lib/DtHelp/il/ilconvert.c | 2 +- cde/lib/DtHelp/il/ilgraybi.c | 2 +- cde/lib/DtHelp/il/ilreadX.c | 2 +- cde/lib/DtHelp/il/ilrwimage.c | 4 ++-- cde/lib/DtHelp/il/iltapfeed.c | 2 +- cde/lib/DtHelp/il/iltiff.c | 4 ++-- cde/lib/DtHelp/il/iltiffwrite.c | 2 +- cde/lib/DtHelp/il/ilupsample.c | 4 ++-- cde/lib/DtHelp/il/ilwriteimage.c | 4 ++-- cde/lib/DtPrint/PsubDefProc.c | 2 +- cde/lib/DtSearch/boolpars.c | 2 +- cde/lib/DtSearch/lang.c | 6 +++--- cde/lib/DtSearch/raima/reclast.c | 6 +++--- cde/lib/DtSvc/DtEncap/spc-error.c | 2 +- cde/lib/DtSvc/DtEncap/spc-obj.c | 2 +- cde/lib/DtSvc/DtEncap/spc-util.c | 6 +++--- cde/lib/DtSvc/DtUtil1/Action.c | 4 ++-- cde/lib/DtSvc/DtUtil1/ActionDb.c | 2 +- cde/lib/DtSvc/DtUtil1/ActionUtil.c | 2 +- cde/lib/DtSvc/DtUtil2/DtNlUtils.c | 8 ++++---- cde/lib/DtSvc/DtUtil2/XlationSvc.c | 8 ++++---- cde/lib/DtTerm/Term/TermFunctionKey.h | 2 +- cde/lib/DtTerm/Term/TermFunctionKeyP.h | 2 +- cde/lib/DtTerm/TermPrim/TermPrim.c | 2 +- cde/lib/DtTerm/TermPrim/TermPrimCursor.c | 2 +- cde/lib/DtTerm/TermView/TermView.c | 4 ++-- cde/lib/DtWidget/ComboBox.c | 2 +- cde/lib/DtWidget/SearchCalls.c | 2 +- cde/lib/csa/connection.c | 4 ++-- cde/lib/csa/csa.h | 2 +- cde/lib/pam/examples/login/login.c | 2 +- cde/lib/pam/pam_modules/unix/unix_utils.c | 2 +- cde/programs/dsdm/proxy.c | 2 +- cde/programs/dtappbuilder/src/ab/attch_ed.bil | 2 +- .../dtappbuilder/src/ab/dtbuilder.msg.src | 4 ++-- .../dtappbuilder/src/ab/message_ed.bil | 2 +- cde/programs/dtappbuilder/src/ab/proj.c | 2 +- cde/programs/dtappbuilder/src/ab/prop.c | 2 +- cde/programs/dtappbuilder/src/abmf/abmf.c | 2 +- .../dtappbuilder/src/abmf/dtcodegen.msg | 2 +- .../dtappbuilder/src/abmf/lib_func_strings.c | 6 +++--- .../dtappbuilder/src/abmf/lib_funcs.c | 6 +++--- .../dtappbuilder/src/libABobj/obj_fields.c | 2 +- .../dtappbuilder/src/libABobj/obj_utils.c | 2 +- cde/programs/dtcm/dtcm/RFCMIME.c | 2 +- cde/programs/dtcm/libDtCmP/cmfns.c | 6 +++--- cde/programs/dtcm/libDtCmP/dtfns.h | 2 +- cde/programs/dtcm/server/cmsfunc.c | 2 +- cde/programs/dtdocbook/instant/browse.c | 2 +- cde/programs/dtdocbook/instant/info.c | 2 +- cde/programs/dtdocbook/instant/main.c | 2 +- cde/programs/dtdocbook/instant/translate.h | 2 +- cde/programs/dtdocbook/tcl/tclFileName.c | 2 +- cde/programs/dtdocbook/tcl/tclPosixStr.c | 4 ++-- cde/programs/dtexec/Main.c | 4 ++-- cde/programs/dtfile/FileManip.c | 2 +- cde/programs/dtfile/dtcopy/errordialog.c | 2 +- cde/programs/dtfile/dtfile.msg | 2 +- cde/programs/dthello/dthello.h | 2 +- cde/programs/dthelp/dthelpgen/helpgen.c | 4 ++-- cde/programs/dthelp/dthelpprint/Initialize.c | 6 +++--- cde/programs/dthelp/dthelpprint/PrintTopics.c | 2 +- .../dthelp/parser.ccdf/volumegen/Volumegen.c | 10 +++++----- cde/programs/dthelp/parser/pass2/htag2/sdl.c | 4 ++-- cde/programs/dtimsstart/file.c | 2 +- cde/programs/dtinfo/DtMmdb/btree/mmdb_btree.C | 2 +- .../DtMmdb/oliasdb/c_api_infolib_test.C | 4 ++-- .../dtinfo/DtMmdb/oliasdb/c_api_test.C | 4 ++-- .../dtinfo/src/Agents/NodeWindowAgentMotif.C | 2 +- .../dtinfo/src/Agents/SearchScopeAgentMotif.C | 2 +- .../dtinfo/dtinfo/src/Query/QueryTermView.C | 2 +- .../dtksh/ksh93/src/cmd/ksh93/sh/args.c | 2 +- .../dtksh/ksh93/src/lib/libast/sfio/sfscanf.c | 2 +- cde/programs/dtlogin/dtlogin.msg | 2 +- cde/programs/dtlogin/session.c | 2 +- cde/programs/dtlogin/vgmain.c | 4 ++-- cde/programs/dtlogin/vgmsg.h | 2 +- cde/programs/dtmail/dtmail/Attachment.C | 2 +- cde/programs/dtmail/dtmail/Notifier.C | 2 +- cde/programs/dtmail/dtmail/RoamApp.C | 2 +- cde/programs/dtmail/dtmail/SendMsgDialog.C | 4 ++-- cde/programs/dtmail/dtmail/dtb_utils.C | 4 ++-- .../dtmail/include/DtMail/DtMailError.hh | 2 +- .../dtmail/libDtMail/Common/DtMailRc.C | 6 +++--- cde/programs/dtmail/libDtMail/Common/IO.C | 2 +- .../dtmail/libDtMail/RFC/MIMEBodyPart.C | 4 ++-- .../dtmail/libDtMail/RFC/RFCBodyPart.C | 6 +++--- .../dtmail/libDtMail/RFC/RFCEnvelope.C | 4 ++-- cde/programs/dtmail/libDtMail/RFC/RFCMIME.C | 8 ++++---- .../dtmail/libDtMail/RFC/RFCMailBox.C | 10 +++++----- .../dtmail/libDtMail/RFC/RFCTransport.C | 4 ++-- cde/programs/dtmail/libDtMail/RFC/SunV3.C | 10 +++++----- cde/programs/dtpad/ttMsgSupport.c | 4 ++-- cde/programs/dtpad/ttSaveSupport.c | 2 +- cde/programs/dtpdmd/util.c | 2 +- cde/programs/dtprintinfo/libUI/BaseUI.h | 2 +- cde/programs/dtprintinfo/objects/BaseObj.h | 2 +- cde/programs/dtsession/SmGlobals.c | 2 +- cde/programs/dtsession/SmRestore.c | 4 ++-- cde/programs/dtsession/SrvFile_io.c | 2 +- cde/programs/dtsr/dtsrindex.c | 4 ++-- cde/programs/dtsr/huffcode.c | 4 ++-- cde/programs/dtterm/Dtterm.ad.src | 2 +- cde/programs/dtterm/flags | 2 +- cde/programs/dtterm/tests/shared/qalib.c | 2 +- cde/programs/dtwm/WmManage.c | 2 +- cde/programs/dtwm/WmOL.c | 6 +++--- cde/programs/dtwm/WmOL.h | 2 +- cde/programs/dtwm/WmResParse.c | 4 ++-- cde/programs/dtwm/WmWinInfo.c | 2 +- cde/programs/dtwm/dtwm.msg | 4 ++-- cde/programs/icons/DtCMa_m.bm | 2 +- .../localized/de_DE.ISO8859-1/msg/dtfile.msg | 2 +- .../localized/de_DE.ISO8859-1/msg/dtwm.msg | 4 ++-- .../localized/el_GR.UTF-8/msg/dtwm.msg | 4 ++-- .../localized/es_ES.ISO8859-1/msg/dtwm.msg | 4 ++-- .../localized/fr_FR.ISO8859-1/msg/dtwm.msg | 4 ++-- .../localized/it_IT.ISO8859-1/msg/dtwm.msg | 4 ++-- .../localized/ja_JP.dt-eucJP/msg/dtwm.msg | 4 ++-- .../sv_SE.ISO8859-1/msg/dtbuilder.msg | 2 +- .../sv_SE.ISO8859-1/msg/dtcodegen.msg | 2 +- .../localized/sv_SE.ISO8859-1/msg/dtwm.msg | 4 ++-- .../localized/zh_TW.dt-eucTW/msg/dtwm.msg | 4 ++-- cde/programs/types/demo/datatyping.c | 2 +- cde/programs/types/nlsREADME.txt | 2 +- cde/programs/util/dttypes/dttypes.c | 2 +- cde/programs/util/dttypes/dttypes.msg | 2 +- 146 files changed, 240 insertions(+), 240 deletions(-) diff --git a/cde/admin/IntegTools/dbTools/udbParseLib.awk b/cde/admin/IntegTools/dbTools/udbParseLib.awk index d1399afb..0156ba38 100644 --- a/cde/admin/IntegTools/dbTools/udbParseLib.awk +++ b/cde/admin/IntegTools/dbTools/udbParseLib.awk @@ -330,7 +330,7 @@ function tokenize() { Str=Str substr($0,last,RSTART) " " substr($0,last+RSTART,1) " " last = last + RSTART + 1; # - # Test remaining part of input line for additional occurances + # Test remaining part of input line for additional occurrences # of syntactically significant characters. # tstStr=substr($0,last) @@ -538,7 +538,7 @@ function fillRecord(rec) { if ( rec[SrcDefault] != "" ) syntaxError(SrcDefault " \"" rec[SrcDefault] "\" specified for a directory.") if ( rec[LnkDefault] != "" ) - syntaxError(LnkDefault " \"" rec[LnkDefault] "\" specfied for a directory.") + syntaxError(LnkDefault " \"" rec[LnkDefault] "\" specified for a directory.") rec[SrcDefault] = src; } else if ( rec["status"] == "---cu-" ) { diff --git a/cde/doc/C/guides/docbookGuide/book.sgm b/cde/doc/C/guides/docbookGuide/book.sgm index 25e07ba7..77601274 100644 --- a/cde/doc/C/guides/docbookGuide/book.sgm +++ b/cde/doc/C/guides/docbookGuide/book.sgm @@ -2631,7 +2631,7 @@ no default. Char contributes to Align. If the value of Align is “char”, the value of Char -should be a character on the first occurrance +should be a character on the first occurrence of which the entry is to be aligned. If that character does not occur in the entry, the entry is aligned to the left of the position determined @@ -2898,7 +2898,7 @@ ColSpec or SpanSpec. Char contributes to Align. If the value of Align is “char”, the value of Char -should be a character on the first occurrance +should be a character on the first occurrence of which the entry is to be aligned. If that character does not occur in the entry, the entry is aligned to the left (the original doc incorrectly @@ -3005,7 +3005,7 @@ or SpanSpec. Char contributes to Align. If the value of Align is “char”, the value of Char -should be a character on the first occurrance +should be a character on the first occurrence of which the entry is to be aligned. If that character does not occur in the entry, the entry is aligned to the left (the original doc incorrectly @@ -4632,7 +4632,7 @@ is Center. Char contributes to Align. If the value of Align is “char”, the value of Char -should be a character on the first occurrance +should be a character on the first occurrence of which the entry is to be aligned. If that character does not occur in the entry, the entry is aligned to the left of the position determined @@ -4948,7 +4948,7 @@ is Left, unless overridden by TGroupStyle. Char contributes to Align. If the value of Align is “char”, the value of Char -should be a character on the first occurrance +should be a character on the first occurrence of which the entry is to be aligned. If that character does not occur in the entry, the entry is is aligned to the left (the original doc incorrectly diff --git a/cde/doc/C/guides/helpGuide/ch07.sgm b/cde/doc/C/guides/helpGuide/ch07.sgm index 5b5be099..097884d7 100644 --- a/cde/doc/C/guides/helpGuide/ch07.sgm +++ b/cde/doc/C/guides/helpGuide/ch07.sgm @@ -34,7 +34,7 @@ role="JumpText" linkend="HRDC.Sgml.mkr.6"> -Document Type Defintion +Document Type Definition A Document Type Definition (DTD) defines a set of elements used to create a structured (or hierarchical) document. The DTD specifies the syntax for each element and governs how and where elements can diff --git a/cde/doc/C/guides/man/man1_dt/imsstart.sgm b/cde/doc/C/guides/man/man1_dt/imsstart.sgm index 807b0adf..fb810f91 100644 --- a/cde/doc/C/guides/man/man1_dt/imsstart.sgm +++ b/cde/doc/C/guides/man/man1_dt/imsstart.sgm @@ -488,7 +488,7 @@ default is False. no_option A Bool indicating whether the IMS allows the command-line option or -not. If True, any options specfied by −imsopt are +not. If True, any options specified by −imsopt are ignored, though the value of the cmd_param entry is always applied regardless of this value. It should be True for the local IMS. The default is False. diff --git a/cde/doc/C/guides/man/man4/dtsrhanf.sgm b/cde/doc/C/guides/man/man4/dtsrhanf.sgm index 4617e25b..581b9154 100644 --- a/cde/doc/C/guides/man/man4/dtsrhanf.sgm +++ b/cde/doc/C/guides/man/man4/dtsrhanf.sgm @@ -164,7 +164,7 @@ must be enclosed in double quotes. date = null | field_id [+ field_id] ... Defines the document date for each document. It will -be converted into a correctly formated fzk file date line. +be converted into a correctly formatted fzk file date line. null specifies undated documents. Undated documents always qualify for searches irrespective of date diff --git a/cde/doc/C/guides/sysAdminGuide/ch16.sgm b/cde/doc/C/guides/sysAdminGuide/ch16.sgm index 7b3d985f..27d16ca1 100644 --- a/cde/doc/C/guides/sysAdminGuide/ch16.sgm +++ b/cde/doc/C/guides/sysAdminGuide/ch16.sgm @@ -948,7 +948,7 @@ or not. The default is False. no_option A Bool attribute that indicates whether the IMS allows the command line -option or not. If True, any options specfied by +option or not. If True, any options specified by -imsopt are ignored, though the value of the cmd_param attribute is always applied regardless of this value. True should be given for the local IM. The default is False. diff --git a/cde/doc/C/help/FPanel/Ref.sgm b/cde/doc/C/help/FPanel/Ref.sgm index d4a703ed..842388c1 100644 --- a/cde/doc/C/help/FPanel/Ref.sgm +++ b/cde/doc/C/help/FPanel/Ref.sgm @@ -40,7 +40,7 @@ repeat the installation procedure. (see the Common Desktop Environment Advanced User's and System Administrator's Guide). The built-in controls and controls provided by your system -adminstrator are defined this way. +administrator are defined this way. If you delete a control defined in a configuration file, it you may be more difficult to restore, since there may not be an diff --git a/cde/doc/util/dbtoman/instant/browse.c b/cde/doc/util/dbtoman/instant/browse.c index 1e215c87..246ef22d 100644 --- a/cde/doc/util/dbtoman/instant/browse.c +++ b/cde/doc/util/dbtoman/instant/browse.c @@ -289,7 +289,7 @@ Browse() else if (!strcmp(cmd, "quit")) break; else - fprintf(stderr, "Unknown command '%s' - ingored.\n", cmd); + fprintf(stderr, "Unknown command '%s' - ignored.\n", cmd); } putc(NL, stdout); } diff --git a/cde/doc/util/dbtoman/instant/info.c b/cde/doc/util/dbtoman/instant/info.c index d80a8998..c8752dcb 100644 --- a/cde/doc/util/dbtoman/instant/info.c +++ b/cde/doc/util/dbtoman/instant/info.c @@ -271,7 +271,7 @@ PrintStats( int dif_el=0, tot_el=0, tot_data=0, nchars, max_depth=0; float pct; - fprintf(outfp, "%-22s %s %s\n", "Element name", "Occurrances", "Character Content"); + fprintf(outfp, "%-22s %s %s\n", "Element name", "Occurrences", "Character Content"); fprintf(outfp, "%-22s %s %s\n", "---------------", "-----------", "-----------------"); acc_tots(top, &tot_el, &tot_data, &max_depth); diff --git a/cde/doc/util/dbtoman/instant/main.c b/cde/doc/util/dbtoman/instant/main.c index aedcd071..811249ec 100644 --- a/cde/doc/util/dbtoman/instant/main.c +++ b/cde/doc/util/dbtoman/instant/main.c @@ -477,7 +477,7 @@ AccumElemInfo( case CMD_LINE: /* Llineno */ /* These lines come in 2 forms: "L123" and "L123 file.sgml". - * Filename is given only at 1st occurance. Remember it. + * Filename is given only at 1st occurrence. Remember it. */ if ((cp = strchr(buf, ' '))) { cp++; diff --git a/cde/doc/util/dbtoman/instant/translate.h b/cde/doc/util/dbtoman/instant/translate.h index f4a4d34e..9c3f8221 100644 --- a/cde/doc/util/dbtoman/instant/translate.h +++ b/cde/doc/util/dbtoman/instant/translate.h @@ -99,7 +99,7 @@ typedef struct _Trans { char *gi; /* element name of tag under consideration */ char **gilist; /* list of element names (multiple gi's) */ char *context; /* context in tree - looking depth levels up */ - regexp *context_re; /* tree heirarchy looking depth levels up */ + regexp *context_re; /* tree hierarchy looking depth levels up */ int depth; /* number of levels to look up the tree */ AttPair_t *attpair; /* attr name-value pairs */ int nattpairs; /* number of name-value pairs */ diff --git a/cde/historical/OPENBUGS b/cde/historical/OPENBUGS index 0d1841c0..c7648e16 100644 --- a/cde/historical/OPENBUGS +++ b/cde/historical/OPENBUGS @@ -73,7 +73,7 @@ CDExc15418 Black border around choice items fails to get redraw CDExc15544 Grouping items resizes scrolled list inappropriately CDExc15593 PanedWindow doesn t attach to window when stretched past ed CDExc15610 Can t reduce W value in main window prop ed -CDExc15752 seperator displays twice when changing orientatio +CDExc15752 separator displays twice when changing orientatio CDExc15755 Foreground color is meaningless with etched Line Styl CDExc15802 Changes to current project lost if open other project CDExc15815 error messages should be multi-lin @@ -1287,7 +1287,7 @@ CDExc11211 spell would be so much more useful with a Learn butto CDExc12848 Add the ability to find marked tex CDExc12852 Undo should handle multiple Undo CDExc14500 EUC formatting does not work on HPUX 9. -CDExc14501 Japanese text formated incorrectly on HPUX 9. +CDExc14501 Japanese text formatted incorrectly on HPUX 9. CDExc15025 first click loses persistent seleciton in click-to-typ CDExc15067 Text Editor does not give an err if left margin > right margi CDExc15355 New functions to get partial sections of tex @@ -3432,7 +3432,7 @@ CDExc08978 Need to review terminology to make sure our tests and docs are all in Component: other Sub-component: XmForm -CDExc03525 Reseting Form attachments to add new widgets in the Form works improperly +CDExc03525 Resetting Form attachments to add new widgets in the Form works improperly Component: other Sub-component: XmManager @@ -3525,7 +3525,7 @@ CDExc08568 HP sandboxes build the automation libraries with shared objects direc CDExc08655 run_PINames does not wor CDExc08663 Running a manual test onto another display causes messages to be printed o CDExc08785 Performance/Post/postText test should be looked at, it does not behave cor -CDExc08853 SpinBox3a test says that there willbe a seperator between the two children +CDExc08853 SpinBox3a test says that there willbe a separator between the two children CDExc08865 UTMTransfer test has an option menu for secondary, and clipboard and prima CDExc08882 PNotebook1 gives error - manually - Pause information exhauste CDExc09053 Compiler warnings for Performance/Startup/edito diff --git a/cde/imports/motif/doc/C/guides/man/PR3X_Xm/PrtSetup.sgm b/cde/imports/motif/doc/C/guides/man/PR3X_Xm/PrtSetup.sgm index cd2c42f7..1d63decf 100644 --- a/cde/imports/motif/doc/C/guides/man/PR3X_Xm/PrtSetup.sgm +++ b/cde/imports/motif/doc/C/guides/man/PR3X_Xm/PrtSetup.sgm @@ -34,7 +34,7 @@ setup and create a Print Shell widget A function that does the appropriate setting and creates a realized XmPrintShell that it returns to the caller. This function hides the details of the Xt to set up a valid print shell -heirarchy for the application. It is also meant +hierarchy for the application. It is also meant to encourage consistency in the way applications root their print widget hierarchy. diff --git a/cde/lib/DtHelp/AccessCCDF.c b/cde/lib/DtHelp/AccessCCDF.c index 27f03e6b..f9b135e3 100644 --- a/cde/lib/DtHelp/AccessCCDF.c +++ b/cde/lib/DtHelp/AccessCCDF.c @@ -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. * diff --git a/cde/lib/DtHelp/CCDFUtil.c b/cde/lib/DtHelp/CCDFUtil.c index 2bf0aa4a..6bdc5994 100644 --- a/cde/lib/DtHelp/CCDFUtil.c +++ b/cde/lib/DtHelp/CCDFUtil.c @@ -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. * *****************************************************************************/ diff --git a/cde/lib/DtHelp/GlobSearch.c b/cde/lib/DtHelp/GlobSearch.c index 43424509..02ee92cd 100644 --- a/cde/lib/DtHelp/GlobSearch.c +++ b/cde/lib/DtHelp/GlobSearch.c @@ -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 */ diff --git a/cde/lib/DtHelp/Messages.c b/cde/lib/DtHelp/Messages.c index 4f9990f3..b1b85546 100644 --- a/cde/lib/DtHelp/Messages.c +++ b/cde/lib/DtHelp/Messages.c @@ -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."; diff --git a/cde/lib/DtHelp/Print.c b/cde/lib/DtHelp/Print.c index d6e279d1..9dedf01f 100644 --- a/cde/lib/DtHelp/Print.c +++ b/cde/lib/DtHelp/Print.c @@ -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); } diff --git a/cde/lib/DtHelp/il/ilcomplzw.c b/cde/lib/DtHelp/il/ilcomplzw.c index d35c5287..a545537b 100644 --- a/cde/lib/DtHelp/il/ilcomplzw.c +++ b/cde/lib/DtHelp/il/ilcomplzw.c @@ -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: diff --git a/cde/lib/DtHelp/il/ilconvert.c b/cde/lib/DtHelp/il/ilconvert.c index aaace0a7..635a1d61 100644 --- a/cde/lib/DtHelp/il/ilconvert.c +++ b/cde/lib/DtHelp/il/ilconvert.c @@ -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: diff --git a/cde/lib/DtHelp/il/ilgraybi.c b/cde/lib/DtHelp/il/ilgraybi.c index 4a2fa7be..911b198a 100644 --- a/cde/lib/DtHelp/il/ilgraybi.c +++ b/cde/lib/DtHelp/il/ilgraybi.c @@ -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; diff --git a/cde/lib/DtHelp/il/ilreadX.c b/cde/lib/DtHelp/il/ilreadX.c index d089e650..0a3ab952 100644 --- a/cde/lib/DtHelp/il/ilreadX.c +++ b/cde/lib/DtHelp/il/ilreadX.c @@ -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; diff --git a/cde/lib/DtHelp/il/ilrwimage.c b/cde/lib/DtHelp/il/ilrwimage.c index 06946fe5..57ad661b 100644 --- a/cde/lib/DtHelp/il/ilrwimage.c +++ b/cde/lib/DtHelp/il/ilrwimage.c @@ -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. */ diff --git a/cde/lib/DtHelp/il/iltapfeed.c b/cde/lib/DtHelp/il/iltapfeed.c index b6363f27..0adf8283 100644 --- a/cde/lib/DtHelp/il/iltapfeed.c +++ b/cde/lib/DtHelp/il/iltapfeed.c @@ -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)) diff --git a/cde/lib/DtHelp/il/iltiff.c b/cde/lib/DtHelp/il/iltiff.c index 8b32baac..61accd06 100644 --- a/cde/lib/DtHelp/il/iltiff.c +++ b/cde/lib/DtHelp/il/iltiff.c @@ -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. diff --git a/cde/lib/DtHelp/il/iltiffwrite.c b/cde/lib/DtHelp/il/iltiffwrite.c index 9d3db006..eb9f980e 100644 --- a/cde/lib/DtHelp/il/iltiffwrite.c +++ b/cde/lib/DtHelp/il/iltiffwrite.c @@ -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 */ diff --git a/cde/lib/DtHelp/il/ilupsample.c b/cde/lib/DtHelp/il/ilupsample.c index 3be63f40..9ded308d 100644 --- a/cde/lib/DtHelp/il/ilupsample.c +++ b/cde/lib/DtHelp/il/ilupsample.c @@ -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; diff --git a/cde/lib/DtHelp/il/ilwriteimage.c b/cde/lib/DtHelp/il/ilwriteimage.c index 8583b4b1..5438d6db 100644 --- a/cde/lib/DtHelp/il/ilwriteimage.c +++ b/cde/lib/DtHelp/il/ilwriteimage.c @@ -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 */ diff --git a/cde/lib/DtPrint/PsubDefProc.c b/cde/lib/DtPrint/PsubDefProc.c index fd93a92c..cb3ad2f5 100644 --- a/cde/lib/DtPrint/PsubDefProc.c +++ b/cde/lib/DtPrint/PsubDefProc.c @@ -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: * diff --git a/cde/lib/DtSearch/boolpars.c b/cde/lib/DtSearch/boolpars.c index 1419b7e7..8e2dafae 100644 --- a/cde/lib/DtSearch/boolpars.c +++ b/cde/lib/DtSearch/boolpars.c @@ -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 diff --git a/cde/lib/DtSearch/lang.c b/cde/lib/DtSearch/lang.c index 917f4ca3..8d265db8 100644 --- a/cde/lib/DtSearch/lang.c +++ b/cde/lib/DtSearch/lang.c @@ -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. diff --git a/cde/lib/DtSearch/raima/reclast.c b/cde/lib/DtSearch/raima/reclast.c index 28677070..ef6bbc24 100644 --- a/cde/lib/DtSearch/raima/reclast.c +++ b/cde/lib/DtSearch/raima/reclast.c @@ -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 */ { diff --git a/cde/lib/DtSvc/DtEncap/spc-error.c b/cde/lib/DtSvc/DtEncap/spc-error.c index 4b259e7c..d402cd69 100644 --- a/cde/lib/DtSvc/DtEncap/spc-error.c +++ b/cde/lib/DtSvc/DtEncap/spc-error.c @@ -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) ">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) diff --git a/cde/lib/DtSvc/DtEncap/spc-util.c b/cde/lib/DtSvc/DtEncap/spc-util.c index f082f8ad..0b101631 100644 --- a/cde/lib/DtSvc/DtEncap/spc-util.c +++ b/cde/lib/DtSvc/DtEncap/spc-util.c @@ -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 diff --git a/cde/lib/DtSvc/DtUtil1/Action.c b/cde/lib/DtSvc/DtUtil1/Action.c index 5db92d1a..e63d066b 100644 --- a/cde/lib/DtSvc/DtUtil1/Action.c +++ b/cde/lib/DtSvc/DtUtil1/Action.c @@ -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 */ diff --git a/cde/lib/DtSvc/DtUtil1/ActionDb.c b/cde/lib/DtSvc/DtUtil1/ActionDb.c index 4351e645..8d6497b4 100644 --- a/cde/lib/DtSvc/DtUtil1/ActionDb.c +++ b/cde/lib/DtSvc/DtUtil1/ActionDb.c @@ -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"))); } diff --git a/cde/lib/DtSvc/DtUtil1/ActionUtil.c b/cde/lib/DtSvc/DtUtil1/ActionUtil.c index 79017730..d86e004a 100644 --- a/cde/lib/DtSvc/DtUtil1/ActionUtil.c +++ b/cde/lib/DtSvc/DtUtil1/ActionUtil.c @@ -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. diff --git a/cde/lib/DtSvc/DtUtil2/DtNlUtils.c b/cde/lib/DtSvc/DtUtil2/DtNlUtils.c index 1cf65ed4..d08d7e73 100644 --- a/cde/lib/DtSvc/DtUtil2/DtNlUtils.c +++ b/cde/lib/DtSvc/DtUtil2/DtNlUtils.c @@ -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 * diff --git a/cde/lib/DtSvc/DtUtil2/XlationSvc.c b/cde/lib/DtSvc/DtUtil2/XlationSvc.c index c7b2540b..68394136 100644 --- a/cde/lib/DtSvc/DtUtil2/XlationSvc.c +++ b/cde/lib/DtSvc/DtUtil2/XlationSvc.c @@ -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 is '>'. When this occurs, the string that matches the matchall character may be referenced in the by using the sequence -\, as in "\1". The occurance is replaced with the matched +\, as in "\1". The occurrence is replaced with the matched string. /*=$END$================================================*/ #endif diff --git a/cde/lib/DtTerm/Term/TermFunctionKey.h b/cde/lib/DtTerm/Term/TermFunctionKey.h index 24562d2e..39c6b84e 100644 --- a/cde/lib/DtTerm/Term/TermFunctionKey.h +++ b/cde/lib/DtTerm/Term/TermFunctionKey.h @@ -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 */ diff --git a/cde/lib/DtTerm/Term/TermFunctionKeyP.h b/cde/lib/DtTerm/Term/TermFunctionKeyP.h index 9ad9dffe..accafaa0 100644 --- a/cde/lib/DtTerm/Term/TermFunctionKeyP.h +++ b/cde/lib/DtTerm/Term/TermFunctionKeyP.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 */ diff --git a/cde/lib/DtTerm/TermPrim/TermPrim.c b/cde/lib/DtTerm/TermPrim/TermPrim.c index 9c7081a3..16e0b172 100644 --- a/cde/lib/DtTerm/TermPrim/TermPrim.c +++ b/cde/lib/DtTerm/TermPrim/TermPrim.c @@ -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 */ diff --git a/cde/lib/DtTerm/TermPrim/TermPrimCursor.c b/cde/lib/DtTerm/TermPrim/TermPrimCursor.c index 34150cf0..2f648190 100644 --- a/cde/lib/DtTerm/TermPrim/TermPrimCursor.c +++ b/cde/lib/DtTerm/TermPrim/TermPrimCursor.c @@ -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, diff --git a/cde/lib/DtTerm/TermView/TermView.c b/cde/lib/DtTerm/TermView/TermView.c index 8a045a56..8c276865 100644 --- a/cde/lib/DtTerm/TermView/TermView.c +++ b/cde/lib/DtTerm/TermView/TermView.c @@ -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... */ diff --git a/cde/lib/DtWidget/ComboBox.c b/cde/lib/DtWidget/ComboBox.c index b260fcf3..33aceb4a 100644 --- a/cde/lib/DtWidget/ComboBox.c +++ b/cde/lib/DtWidget/ComboBox.c @@ -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)); } diff --git a/cde/lib/DtWidget/SearchCalls.c b/cde/lib/DtWidget/SearchCalls.c index 0c26a920..7be84a92 100644 --- a/cde/lib/DtWidget/SearchCalls.c +++ b/cde/lib/DtWidget/SearchCalls.c @@ -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. */ diff --git a/cde/lib/csa/connection.c b/cde/lib/csa/connection.c index 4149d94b..6b7ad064 100644 --- a/cde/lib/csa/connection.c +++ b/cde/lib/csa/connection.c @@ -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 diff --git a/cde/lib/csa/csa.h b/cde/lib/csa/csa.h index 9f2b099c..b1b6219f 100644 --- a/cde/lib/csa/csa.h +++ b/cde/lib/csa/csa.h @@ -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) diff --git a/cde/lib/pam/examples/login/login.c b/cde/lib/pam/examples/login/login.c index 6c2bece9..178fd4d6 100644 --- a/cde/lib/pam/examples/login/login.c +++ b/cde/lib/pam/examples/login/login.c @@ -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; diff --git a/cde/lib/pam/pam_modules/unix/unix_utils.c b/cde/lib/pam/pam_modules/unix/unix_utils.c index f48329c5..e96a85e1 100644 --- a/cde/lib/pam/pam_modules/unix/unix_utils.c +++ b/cde/lib/pam/pam_modules/unix/unix_utils.c @@ -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) diff --git a/cde/programs/dsdm/proxy.c b/cde/programs/dsdm/proxy.c index 02de2f6c..62704c85 100644 --- a/cde/programs/dsdm/proxy.c +++ b/cde/programs/dsdm/proxy.c @@ -1395,7 +1395,7 @@ ProxyMain(Display *dpy, XEvent *event) /* Currently, in both olit dnd protocol and * motif dnd protocol, the destination side - * DONT check the value from the source side! + * DON'T check the value from the source side! * * We will have to copy xe->property to * drop_info->receiver_win if this is no longer diff --git a/cde/programs/dtappbuilder/src/ab/attch_ed.bil b/cde/programs/dtappbuilder/src/ab/attch_ed.bil index d3c8fc65..e0b0dae7 100644 --- a/cde/programs/dtappbuilder/src/ab/attch_ed.bil +++ b/cde/programs/dtappbuilder/src/ab/attch_ed.bil @@ -245,7 +245,7 @@ :type :choice :choice-type :nonexclusive :label-type :string - :label "Resizeable:" + :label "Resizable:" :label-position :west :num-columns 1 :orientation :vertical diff --git a/cde/programs/dtappbuilder/src/ab/dtbuilder.msg.src b/cde/programs/dtappbuilder/src/ab/dtbuilder.msg.src index 011b055b..a13c86fc 100644 --- a/cde/programs/dtappbuilder/src/ab/dtbuilder.msg.src +++ b/cde/programs/dtappbuilder/src/ab/dtbuilder.msg.src @@ -303,7 +303,7 @@ $ ** You can edit this comment and add comments below each message. 6 "Parent:" 7 "parent obj" 8 "Object1" -9 "Resizeable:" +9 "Resizable:" 10 "Attach To:" 11 "Offset:" 12 "Percentage:" @@ -1468,7 +1468,7 @@ $ ** You can edit this comment and add comments below each message. 31 "Cancel" 32 "None" 33 " " -34 "The Action3 button is specified as the\ndefault button, but it is not specfied\nto exist in the message dialog." +34 "The Action3 button is specified as the\ndefault button, but it is not specified\nto exist in the message dialog." 35 "A string must be entered for the Action3 button." 36 "Apply Changes" 37 "No buttons are specified to exist in\nthe message dialog. There must be \nat least one button in the message." diff --git a/cde/programs/dtappbuilder/src/ab/message_ed.bil b/cde/programs/dtappbuilder/src/ab/message_ed.bil index ed903270..1134d6f3 100644 --- a/cde/programs/dtappbuilder/src/ab/message_ed.bil +++ b/cde/programs/dtappbuilder/src/ab/message_ed.bil @@ -1021,7 +1021,7 @@ :type :message :message-type :error :label "Application Builder" - :message "The Action3 button is specified as the\ndefault button, but it is not specfied\nto exist in the message dialog." + :message "The Action3 button is specified as the\ndefault button, but it is not specified\nto exist in the message dialog." :action1-label "OK" :cancel-button :false :help-button :true diff --git a/cde/programs/dtappbuilder/src/ab/proj.c b/cde/programs/dtappbuilder/src/ab/proj.c index 65cfe602..af5e9b65 100644 --- a/cde/programs/dtappbuilder/src/ab/proj.c +++ b/cde/programs/dtappbuilder/src/ab/proj.c @@ -1088,7 +1088,7 @@ import_uil( return; } else - fprintf(stderr, "Succesfully imported %s.\n", uil_file_name); + fprintf(stderr, "Successfully imported %s.\n", uil_file_name); obj_set_flag(project, SaveNeededFlag); diff --git a/cde/programs/dtappbuilder/src/ab/prop.c b/cde/programs/dtappbuilder/src/ab/prop.c index c1700cf0..bc938c54 100644 --- a/cde/programs/dtappbuilder/src/ab/prop.c +++ b/cde/programs/dtappbuilder/src/ab/prop.c @@ -1997,7 +1997,7 @@ prop_graphic_filename_ok( util_file_name_has_extension(filename, "xbm")) { ext = strrchr(filebase, '.'); - ext[0] = '\0'; /* strip off extenstion */ + ext[0] = '\0'; /* strip off extension */ util_set_help_data(catgets(Dtb_project_catd, 100, 117, "The graphic file name extension should not be included\nwhen it is specified in the Graphic Filename field."), NULL, NULL); diff --git a/cde/programs/dtappbuilder/src/abmf/abmf.c b/cde/programs/dtappbuilder/src/abmf/abmf.c index b5587b34..011548f9 100644 --- a/cde/programs/dtappbuilder/src/abmf/abmf.c +++ b/cde/programs/dtappbuilder/src/abmf/abmf.c @@ -1152,7 +1152,7 @@ abmf_usage(void) fprintf(stderr, "%s", catgets(Dtb_project_catd, 1, 17, "Files with extension .bip are assumend to be BIL project files, files with\n")); fprintf(stderr, "%s", catgets(Dtb_project_catd, 1, 18, -".bix extenstion are assumed to be encapsulated BIL files, and files\n")); +".bix extension are assumed to be encapsulated BIL files, and files\n")); fprintf(stderr, "%s", catgets(Dtb_project_catd, 1, 19, "With a .bil extension are assumed to be BIL module files.\n\n")); diff --git a/cde/programs/dtappbuilder/src/abmf/dtcodegen.msg b/cde/programs/dtappbuilder/src/abmf/dtcodegen.msg index 90c3243b..b587786c 100644 --- a/cde/programs/dtappbuilder/src/abmf/dtcodegen.msg +++ b/cde/programs/dtappbuilder/src/abmf/dtcodegen.msg @@ -24,7 +24,7 @@ $set 1 15 "file is specified, a project file containing the specified module(s) is\n" 16 "searched for in the current directory.\n\n" 17 "Files with extension .bip are assumend to be BIL project files, files with\n" -18 ".bix extenstion are assumed to be encapsulated BIL files, and files\n" +18 ".bix extension are assumed to be encapsulated BIL files, and files\n" 19 "with a .bil extension are assumed to be BIL module files.\n" 20 "Options (* = default, + = default with no project file):\n" 21 " -help (-h) Print out this help message\n" diff --git a/cde/programs/dtappbuilder/src/abmf/lib_func_strings.c b/cde/programs/dtappbuilder/src/abmf/lib_func_strings.c index d2a69719..422ad905 100644 --- a/cde/programs/dtappbuilder/src/abmf/lib_func_strings.c +++ b/cde/programs/dtappbuilder/src/abmf/lib_func_strings.c @@ -261,7 +261,7 @@ static LibFuncRec abmfP_lrc_set_label_pixmaps = " }\n" "\n" " /*\n" - " * Set the approriate resources.\n" + " * Set the appropriate resources.\n" " */\n" " XtVaSetValues(widget, XmNlabelType, XmPIXMAP, NULL);\n" " if (labelPixmap != 0)\n" @@ -508,7 +508,7 @@ static LibFuncRec abmfP_lrc_set_label_from_bitmap_data = /* def */ "/*\n" - " * Sets both the sensitive and insensitve pixmaps\n" + " * Sets both the sensitive and insensitive pixmaps\n" " */\n" "int\n" "dtb_set_label_from_bitmap_data(\n" @@ -599,7 +599,7 @@ static LibFuncRec abmfP_lrc_set_label_from_xpm_data = /* def */ "/*\n" - " * Sets both the sensitive and insensitve pixmaps\n" + " * Sets both the sensitive and insensitive pixmaps\n" " */\n" "int\n" "dtb_set_label_from_xpm_data(\n" diff --git a/cde/programs/dtappbuilder/src/abmf/lib_funcs.c b/cde/programs/dtappbuilder/src/abmf/lib_funcs.c index 29a81b5c..18aeb47a 100644 --- a/cde/programs/dtappbuilder/src/abmf/lib_funcs.c +++ b/cde/programs/dtappbuilder/src/abmf/lib_funcs.c @@ -642,7 +642,7 @@ dtb_set_label_pixmaps( } /* - * Set the approriate resources. + * Set the appropriate resources. */ XtVaSetValues(widget, XmNlabelType, XmPIXMAP, NULL); if (labelPixmap != NULL) @@ -802,7 +802,7 @@ dtb_set_label_from_image_file( /* - * Sets both the sensitive and insensitve pixmaps + * Sets both the sensitive and insensitive pixmaps */ int dtb_set_label_from_bitmap_data( @@ -877,7 +877,7 @@ dtb_set_label_from_bitmap_data( /* - * Sets both the sensitive and insensitve pixmaps + * Sets both the sensitive and insensitive pixmaps */ int dtb_set_label_from_xpm_data( diff --git a/cde/programs/dtappbuilder/src/libABobj/obj_fields.c b/cde/programs/dtappbuilder/src/libABobj/obj_fields.c index e98fc00b..3101369b 100644 --- a/cde/programs/dtappbuilder/src/libABobj/obj_fields.c +++ b/cde/programs/dtappbuilder/src/libABobj/obj_fields.c @@ -1124,7 +1124,7 @@ obj_set_resizable(ABObj obj, BOOL resizable) obj->info.window.resizable = resizable; return 0; } - member_error(obj, "resizeable"); + member_error(obj, "resizable"); return -1; } diff --git a/cde/programs/dtappbuilder/src/libABobj/obj_utils.c b/cde/programs/dtappbuilder/src/libABobj/obj_utils.c index 58f6bc1c..407eb3d8 100644 --- a/cde/programs/dtappbuilder/src/libABobj/obj_utils.c +++ b/cde/programs/dtappbuilder/src/libABobj/obj_utils.c @@ -1609,7 +1609,7 @@ sig_fault_handler() /* We should have cleared this to prepare for a mem fault */ /* If not, then something has gone haywire */ static STRING msg = NULL; - msg = "MEMORY ACCESS VIOLATION OCCURED. ABORTING.\n"; + msg = "MEMORY ACCESS VIOLATION OCCURRED. ABORTING.\n"; write(2, msg, strlen(msg)); abort(); } diff --git a/cde/programs/dtcm/dtcm/RFCMIME.c b/cde/programs/dtcm/dtcm/RFCMIME.c index bfc6bd18..d2932bbf 100644 --- a/cde/programs/dtcm/dtcm/RFCMIME.c +++ b/cde/programs/dtcm/dtcm/RFCMIME.c @@ -1039,7 +1039,7 @@ getEncodingType(const char * body, } } - /* Deal with buffers that dont end with a new line. */ + /* Deal with buffers that don't end with a new line. */ if ((cur - last_nl) > 76) { encode = B_TRUE; diff --git a/cde/programs/dtcm/libDtCmP/cmfns.c b/cde/programs/dtcm/libDtCmP/cmfns.c index 723f0aea..3402d236 100644 --- a/cde/programs/dtcm/libDtCmP/cmfns.c +++ b/cde/programs/dtcm/libDtCmP/cmfns.c @@ -149,7 +149,7 @@ cmfns_description( buf[size - 1] = '\0'; tmp_buf = strdup(name); head = tmp_buf; - if ((tail = strchr(head, DTFNS_SEPERATOR)) == NULL) { + if ((tail = strchr(head, DTFNS_SEPARATOR)) == NULL) { /* * No colon. Either one of the special FNS names or * it is not an FNS name @@ -174,7 +174,7 @@ cmfns_description( if (strcmp(head, DTFNS_ORG_NAME) == 0) { /* Starts with org:. Get org */ head = tail; - if ((tail = strchr(head, DTFNS_SEPERATOR)) == NULL) { + if ((tail = strchr(head, DTFNS_SEPARATOR)) == NULL) { /* just org:orgname */ strncpy(buf, head, size); size -= strlen(buf); @@ -186,7 +186,7 @@ cmfns_description( org = head; head = tail + 1; - if ((tail = strchr(head, DTFNS_SEPERATOR)) == NULL) { + if ((tail = strchr(head, DTFNS_SEPARATOR)) == NULL) { /* * Hmmm... We have "org:orgname:something" * Just return the description for an organization diff --git a/cde/programs/dtcm/libDtCmP/dtfns.h b/cde/programs/dtcm/libDtCmP/dtfns.h index e2a73f5a..6dbabb41 100644 --- a/cde/programs/dtcm/libDtCmP/dtfns.h +++ b/cde/programs/dtcm/libDtCmP/dtfns.h @@ -38,7 +38,7 @@ #include -#define DTFNS_SEPERATOR ':' +#define DTFNS_SEPARATOR ':' #define DTFNS_ORG_NAME "org" #define DTFNS_ORG_LEN 3 diff --git a/cde/programs/dtcm/server/cmsfunc.c b/cde/programs/dtcm/server/cmsfunc.c index 4d543a6a..fcccefd8 100644 --- a/cde/programs/dtcm/server/cmsfunc.c +++ b/cde/programs/dtcm/server/cmsfunc.c @@ -1210,7 +1210,7 @@ _DtCmsCreateCallog(char *user, cms_create_args *args, _DtCmsCalendar **newcal) return (stat); } - /* we dont use the values specified by client */ + /* we don't use the values specified by client */ for (i = 0; i < args->num_attrs; i++) { if (strcmp(args->attrs[i].name.name, CSA_CAL_ATTR_CALENDAR_NAME) == 0) { diff --git a/cde/programs/dtdocbook/instant/browse.c b/cde/programs/dtdocbook/instant/browse.c index 31c257bd..db025854 100644 --- a/cde/programs/dtdocbook/instant/browse.c +++ b/cde/programs/dtdocbook/instant/browse.c @@ -265,7 +265,7 @@ Browse() else if (!strcmp(cmd, "quit")) break; else - fprintf(stderr, "Unknown command '%s' - ingored.\n", cmd); + fprintf(stderr, "Unknown command '%s' - ignored.\n", cmd); } putc(NL, stdout); } diff --git a/cde/programs/dtdocbook/instant/info.c b/cde/programs/dtdocbook/instant/info.c index 6c8386cc..3c0ba14f 100644 --- a/cde/programs/dtdocbook/instant/info.c +++ b/cde/programs/dtdocbook/instant/info.c @@ -248,7 +248,7 @@ PrintStats( int dif_el=0, tot_el=0, tot_data=0, nchars, max_depth=0; float pct; - fprintf(outfp, "%-22s %s %s\n", "Element name", "Occurrances", "Character Content"); + fprintf(outfp, "%-22s %s %s\n", "Element name", "Occurrences", "Character Content"); fprintf(outfp, "%-22s %s %s\n", "---------------", "-----------", "-----------------"); acc_tots(top, &tot_el, &tot_data, &max_depth); diff --git a/cde/programs/dtdocbook/instant/main.c b/cde/programs/dtdocbook/instant/main.c index 4b970cee..c9c64cc9 100644 --- a/cde/programs/dtdocbook/instant/main.c +++ b/cde/programs/dtdocbook/instant/main.c @@ -1072,7 +1072,7 @@ AccumElemInfo( case CMD_LINE: /* Llineno */ /* These lines come in 2 forms: "L123" and "L123 file.sgml". - * Filename is given only at 1st occurance. Remember it. + * Filename is given only at 1st occurrence. Remember it. */ if ((cp = strchr(i18nBuf, ' '))) { cp++; diff --git a/cde/programs/dtdocbook/instant/translate.h b/cde/programs/dtdocbook/instant/translate.h index cee0ed58..49e4019d 100644 --- a/cde/programs/dtdocbook/instant/translate.h +++ b/cde/programs/dtdocbook/instant/translate.h @@ -81,7 +81,7 @@ typedef struct _Trans { char *gi; /* element name of tag under consideration */ char **gilist; /* list of element names (multiple gi's) */ char *context; /* context in tree - looking depth levels up */ - regexp *context_re; /* tree heirarchy looking depth levels up */ + regexp *context_re; /* tree hierarchy looking depth levels up */ int depth; /* number of levels to look up the tree */ AttPair_t *attpair; /* attr name-value pairs */ int nattpairs; /* number of name-value pairs */ diff --git a/cde/programs/dtdocbook/tcl/tclFileName.c b/cde/programs/dtdocbook/tcl/tclFileName.c index 82adbb82..444ad93f 100644 --- a/cde/programs/dtdocbook/tcl/tclFileName.c +++ b/cde/programs/dtdocbook/tcl/tclFileName.c @@ -1268,7 +1268,7 @@ done: * SkipToChar -- * * This function traverses a glob pattern looking for the next - * unquoted occurance of the specified character at the same braces + * unquoted occurrence of the specified character at the same braces * nesting level. * * Results: diff --git a/cde/programs/dtdocbook/tcl/tclPosixStr.c b/cde/programs/dtdocbook/tcl/tclPosixStr.c index 5a8fbe00..06bb078f 100644 --- a/cde/programs/dtdocbook/tcl/tclPosixStr.c +++ b/cde/programs/dtdocbook/tcl/tclPosixStr.c @@ -834,7 +834,7 @@ Tcl_ErrnoMsg(err) case EPROTO: return "protocol error"; #endif #ifdef EPROTONOSUPPORT - case EPROTONOSUPPORT: return "protocol not suppored"; + case EPROTONOSUPPORT: return "protocol not supported"; #endif #ifdef EPROTOTYPE case EPROTOTYPE: return "protocol wrong type for socket"; @@ -870,7 +870,7 @@ Tcl_ErrnoMsg(err) case ERREMOTE: return "object is remote"; #endif #ifdef ESHUTDOWN - case ESHUTDOWN: return "can't send afer socket shutdown"; + case ESHUTDOWN: return "can't send after socket shutdown"; #endif #ifdef ESOCKTNOSUPPORT case ESOCKTNOSUPPORT: return "socket type not supported"; diff --git a/cde/programs/dtexec/Main.c b/cde/programs/dtexec/Main.c index 987710e7..23fb2050 100644 --- a/cde/programs/dtexec/Main.c +++ b/cde/programs/dtexec/Main.c @@ -763,7 +763,7 @@ ParseCommandLine( #endif /* _DTEXEC_NLS16 */ /* - * Search from the end for underscore seperators. + * Search from the end for underscore separators. */ #ifdef _DTEXEC_NLS16 tick2 = (char *) Dt_strrchr( dtSvcProcIdG, '_' ); @@ -798,7 +798,7 @@ ParseCommandLine( } else { /* - * Unable to find _ (underscore) seperators. + * Unable to find _ (underscore) separators. */ free(dtSvcProcIdG); dtSvcProcIdG = (char *) NULL; diff --git a/cde/programs/dtfile/FileManip.c b/cde/programs/dtfile/FileManip.c index e7771c77..105c574b 100644 --- a/cde/programs/dtfile/FileManip.c +++ b/cde/programs/dtfile/FileManip.c @@ -1296,7 +1296,7 @@ FileManip( else tmpStr = (GETMESSAGE(11,54, "The move of the file/folder failed\ndue to some internal error. The internal\nerror given is:")); catmsg = XtNewString(tmpStr); - tmpStr = (GETMESSAGE(11,55, "Please see your System Adminstrator")); + tmpStr = (GETMESSAGE(11,55, "Please see your System Administrator")); samsg = XtNewString(tmpStr); } diff --git a/cde/programs/dtfile/dtcopy/errordialog.c b/cde/programs/dtfile/dtcopy/errordialog.c index 9cb161aa..4fd041ca 100644 --- a/cde/programs/dtfile/dtcopy/errordialog.c +++ b/cde/programs/dtfile/dtcopy/errordialog.c @@ -222,7 +222,7 @@ create_error_dialog( action_area = Create_Action_Area(form, copyActions, NULL); /* create the separator widget */ - separator = XtVaCreateManagedWidget("seperator", + separator = XtVaCreateManagedWidget("separator", xmSeparatorWidgetClass, form, XmNbottomAttachment, XmATTACH_WIDGET, diff --git a/cde/programs/dtfile/dtfile.msg b/cde/programs/dtfile/dtfile.msg index c6a26e50..cac72d0c 100644 --- a/cde/programs/dtfile/dtfile.msg +++ b/cde/programs/dtfile/dtfile.msg @@ -701,7 +701,7 @@ error given is: 54 The move of the file/folder failed\n\ due to some internal error. The internal\n\ error given is: -55 Please see your System Adminstrator +55 Please see your System Administrator 56 (Unknown): 57 You do not have permission to move the folder\n\ %s\n\ diff --git a/cde/programs/dthello/dthello.h b/cde/programs/dthello/dthello.h index b7cb0f8a..bc475686 100644 --- a/cde/programs/dthello/dthello.h +++ b/cde/programs/dthello/dthello.h @@ -44,7 +44,7 @@ struct globalStruct { }; /* - * Defintions and Macros + * Definitions and Macros */ #if 0 #define DEFAULT_FILE "/etc/copyright" diff --git a/cde/programs/dthelp/dthelpgen/helpgen.c b/cde/programs/dthelp/dthelpgen/helpgen.c index 8ac04cf4..d4a708b0 100644 --- a/cde/programs/dthelp/dthelpgen/helpgen.c +++ b/cde/programs/dthelp/dthelpgen/helpgen.c @@ -1517,9 +1517,9 @@ main( fprintf (outVolume, "*.topTopic: %s\n", ParentName); /* - * topic heirarchy + * topic hierarchy */ - fprintf (outVolume, "\n\n!# Topic Heirarchy\n"); + fprintf (outVolume, "\n\n!# Topic Hierarchy\n"); fprintf (outVolume, "*.%s.parent: \n", ParentName); for (next = TopicList; next && *next; next++) fprintf (outVolume, "*.%s.parent: %s\n", *next, ParentName); diff --git a/cde/programs/dthelp/dthelpprint/Initialize.c b/cde/programs/dthelp/dthelpprint/Initialize.c index 447bf128..b60b42d9 100644 --- a/cde/programs/dthelp/dthelpprint/Initialize.c +++ b/cde/programs/dthelp/dthelpprint/Initialize.c @@ -50,7 +50,7 @@ $COPYRIGHT$: #include /* _XGetHostname() */ #include /* FIX: remove? */ #include /* for Xt macros */ -/* dont use X11/StringDefs.h because it brings in the _XtStrings global */ +/* don't use X11/StringDefs.h because it brings in the _XtStrings global */ #include "HelpPrintI.h" @@ -880,7 +880,7 @@ static float dphm = 300.*2540.; /* e.g. Dthelpprint.Printer{.}.PaperSize */ #if defined(_AIX) - stricmp = strcmp; /* AIX and USL dont have strcasecmp */ + stricmp = strcmp; /* AIX and USL don't have strcasecmp */ #else stricmp = strcasecmp; #endif @@ -1168,7 +1168,7 @@ void _DtHPrBuildResourceDb( char * tmp_string; /** n.b.: If *appDB == NULL, the first XrmPutResource() call - creates a database and stored its ref in appDB. We dont + creates a database and stored its ref in appDB. We don't need to explicitly create the db. **/ str_type[0] = NULL; diff --git a/cde/programs/dthelp/dthelpprint/PrintTopics.c b/cde/programs/dthelp/dthelpprint/PrintTopics.c index ecc77c8d..0e926668 100644 --- a/cde/programs/dthelp/dthelpprint/PrintTopics.c +++ b/cde/programs/dthelp/dthelpprint/PrintTopics.c @@ -2294,7 +2294,7 @@ int ProcessTopics( state->curPageNumber = 1; state->curLineNumber = 1; - /* output topics but dont inhibit */ + /* output topics but don't inhibit */ if ( processSubTopics ) { state->sectNums[0] = 1; /* support section num printing */ diff --git a/cde/programs/dthelp/parser.ccdf/volumegen/Volumegen.c b/cde/programs/dthelp/parser.ccdf/volumegen/Volumegen.c index f9c7c291..d9a42943 100644 --- a/cde/programs/dthelp/parser.ccdf/volumegen/Volumegen.c +++ b/cde/programs/dthelp/parser.ccdf/volumegen/Volumegen.c @@ -91,7 +91,7 @@ static char *GetNextToken( /* Volumegen Input file suffixes */ #define HEIR_FILE_SUFFIX ".tpc" /* The input filename suffix used for topic */ - /* heirarchy files. */ + /* hierarchy files. */ #define TLOC_FILE_SUFFIX ".idt" /* The input filename suffix used for topic */ /* location files. */ @@ -136,13 +136,13 @@ void main ( exit (1); } - /* Construct the name of the heirarchy file and open it. */ + /* Construct the name of the hierarchy file and open it. */ fName = malloc (strlen (*(argv+1)) + strlen (HEIR_FILE_SUFFIX) + 1); strcpy (fName, *(argv+1)); strcat (fName, HEIR_FILE_SUFFIX); if ((heirFile = fopen (fName, "r")) == NULL) { fprintf (stderr, - "%s: error opening heirarchy file %s for reading\n", + "%s: error opening hierarchy file %s for reading\n", *argv, fName); perror (NULL); exit (1); @@ -211,7 +211,7 @@ void main ( } - /* Generate topic list and heirarchy */ + /* Generate topic list and hierarchy */ GenTopicList (heirFile, volFile); GenTopicHeir (heirFile, volFile); @@ -298,7 +298,7 @@ static void GenTopicHeir( topicStack = PStackCreate(); fseek (infile, 0, SEEK_SET); - fprintf (outfile, "# Topic Heirarchy\n"); + fprintf (outfile, "# Topic Hierarchy\n"); prevToken = NULL; while ((token = GetNextToken (infile, TRUE)) != NULL) { diff --git a/cde/programs/dthelp/parser/pass2/htag2/sdl.c b/cde/programs/dthelp/parser/pass2/htag2/sdl.c index c07eb20e..0a4f9e56 100644 --- a/cde/programs/dthelp/parser/pass2/htag2/sdl.c +++ b/cde/programs/dthelp/parser/pass2/htag2/sdl.c @@ -5617,7 +5617,7 @@ while (size || remnant = 0; /* First split out the "sort", "text" and "rid" fields. They are - separated by an ASCII Record Seperator (036) character */ + separated by an ASCII Record Separator (036) character */ pTo = sort; pRestart = pFrom; found = 0; @@ -5745,7 +5745,7 @@ while (size || remnant = 0; /* First split out the "sort", "text" and "rid" fields. They are - separated by an ASCII Record Seperator (036) character */ + separated by an ASCII Record Separator (036) character */ pTo = sort; pRestart = pFrom; found = 0; diff --git a/cde/programs/dtimsstart/file.c b/cde/programs/dtimsstart/file.c index 2ad4f173..18c37b8f 100644 --- a/cde/programs/dtimsstart/file.c +++ b/cde/programs/dtimsstart/file.c @@ -770,7 +770,7 @@ int read_selection_file(fsel, fp) RENEWSTR(com_opt, valp); } } else { - DPR3(("\t[line=%d] unknow name '%s'\n", line_num, lp)); + DPR3(("\t[line=%d] unknown name '%s'\n", line_num, lp)); } } diff --git a/cde/programs/dtinfo/DtMmdb/btree/mmdb_btree.C b/cde/programs/dtinfo/DtMmdb/btree/mmdb_btree.C index e0c0e139..4eb34d64 100644 --- a/cde/programs/dtinfo/DtMmdb/btree/mmdb_btree.C +++ b/cde/programs/dtinfo/DtMmdb/btree/mmdb_btree.C @@ -107,7 +107,7 @@ void btree::data_t_2_DBT(data_t& w) break; case data_t::VOID: - throw(stringException("btree data_t_2_DBT: unknow key type")); + throw(stringException("btree data_t_2_DBT: unknown key type")); } } diff --git a/cde/programs/dtinfo/DtMmdb/oliasdb/c_api_infolib_test.C b/cde/programs/dtinfo/DtMmdb/oliasdb/c_api_infolib_test.C index ab64488f..38847c70 100644 --- a/cde/programs/dtinfo/DtMmdb/oliasdb/c_api_infolib_test.C +++ b/cde/programs/dtinfo/DtMmdb/oliasdb/c_api_infolib_test.C @@ -70,7 +70,7 @@ int test0(int argc, char** argv) showBookCaseInfo(DtMmdbGetBookCaseByIndex(i, j)); break; default: - fprintf(stderr, "bad argment list\n"); + fprintf(stderr, "bad argument list\n"); } fprintf(stderr, "infolib desc=%d\n", i); @@ -91,7 +91,7 @@ int test1(int argc, char** argv) showBookCaseInfo(DtMmdbGetBookCaseByLoc(i, argv[4])); break; default: - fprintf(stderr, "bad argment list\n"); + fprintf(stderr, "bad argument list\n"); } fprintf(stderr, "infolib desc=%d\n", i); diff --git a/cde/programs/dtinfo/DtMmdb/oliasdb/c_api_test.C b/cde/programs/dtinfo/DtMmdb/oliasdb/c_api_test.C index e6370b44..56c4e19f 100644 --- a/cde/programs/dtinfo/DtMmdb/oliasdb/c_api_test.C +++ b/cde/programs/dtinfo/DtMmdb/oliasdb/c_api_test.C @@ -101,7 +101,7 @@ int test0(int argc, char** argv) showBookCaseInfo(DtMmdbGetBookCaseByIndex(i, j)); break; default: - fprintf(stderr, "bad argment list\n"); + fprintf(stderr, "bad argument list\n"); } fprintf(stderr, "infolib desc=%d\n", i); @@ -122,7 +122,7 @@ int test1(int argc, char** argv) showBookCaseInfo(DtMmdbGetBookCaseByLoc(i, argv[4])); break; default: - fprintf(stderr, "bad argment list\n"); + fprintf(stderr, "bad argument list\n"); } fprintf(stderr, "infolib desc=%d\n", i); diff --git a/cde/programs/dtinfo/dtinfo/src/Agents/NodeWindowAgentMotif.C b/cde/programs/dtinfo/dtinfo/src/Agents/NodeWindowAgentMotif.C index 1792a678..311c21f1 100644 --- a/cde/programs/dtinfo/dtinfo/src/Agents/NodeWindowAgentMotif.C +++ b/cde/programs/dtinfo/dtinfo/src/Agents/NodeWindowAgentMotif.C @@ -4827,7 +4827,7 @@ NodeWindowAgent::layout_mark_icons() } free(return_positions); - // The list of MarkCanvas objects is already in order of occurance + // The list of MarkCanvas objects is already in order of occurrence // in the node, so we can just process them in order to create // the revised set of MarkIcons. diff --git a/cde/programs/dtinfo/dtinfo/src/Agents/SearchScopeAgentMotif.C b/cde/programs/dtinfo/dtinfo/src/Agents/SearchScopeAgentMotif.C index 0cfd7596..2ebeaf5b 100644 --- a/cde/programs/dtinfo/dtinfo/src/Agents/SearchScopeAgentMotif.C +++ b/cde/programs/dtinfo/dtinfo/src/Agents/SearchScopeAgentMotif.C @@ -379,7 +379,7 @@ SearchScopeAgent::SearchScopeAgent() SearchScopeAgent::~SearchScopeAgent() { #if 0 - // dont need to delete these because not called anyway - jbm + // don't need to delete these because not called anyway - jbm // NOTE: Destroy should destroy & delete! f_shell->Destroy(); diff --git a/cde/programs/dtinfo/dtinfo/src/Query/QueryTermView.C b/cde/programs/dtinfo/dtinfo/src/Query/QueryTermView.C index 0744c65b..97d6aa8a 100644 --- a/cde/programs/dtinfo/dtinfo/src/Query/QueryTermView.C +++ b/cde/programs/dtinfo/dtinfo/src/Query/QueryTermView.C @@ -335,7 +335,7 @@ QueryTermView::select_toggle (WCallback *wcb) // ///////////////////////////////////////////////////////////////// -// _select - beep if insensitve, call normal select action otherwise +// _select - beep if insensitive, call normal select action otherwise // ///////////////////////////////////////////////////////////////// void diff --git a/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/args.c b/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/args.c index 4f503c95..42b35c35 100644 --- a/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/args.c +++ b/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/args.c @@ -362,7 +362,7 @@ struct dolnod *sh_argfree __PARAM__((struct dolnod *blk,int flag), (blk, flag)) /* * grab space for arglist and copy args - * The strings are copied after the argment vector + * The strings are copied after the argument vector */ struct dolnod *sh_argcreate __PARAM__((register char *argv[]), (argv)) __OTORP__(register char *argv[];){ register struct dolnod *dp; diff --git a/cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfscanf.c b/cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfscanf.c index deaed5a5..9bf07f60 100644 --- a/cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfscanf.c +++ b/cde/programs/dtksh/ksh93/src/lib/libast/sfio/sfscanf.c @@ -45,7 +45,7 @@ ***************************************************************/ #include "sfhdr.h" -/* Read formated data from a stream +/* Read formatted data from a stream ** ** Written by Kiem-Phong Vo (06/27/90) */ diff --git a/cde/programs/dtlogin/dtlogin.msg b/cde/programs/dtlogin/dtlogin.msg index 08da8aa9..c777d2a8 100644 --- a/cde/programs/dtlogin/dtlogin.msg +++ b/cde/programs/dtlogin/dtlogin.msg @@ -321,7 +321,7 @@ $ 1 Access file "%1$s", host "%2$s" not found\n 2 ReadHostEntry\n 3 Access file %1$s, display %2$s unknown\n -4 Cannot open access control file %1$s, no XDMCP reqeusts will be granted\n +4 Cannot open access control file %1$s, no XDMCP requests will be granted\n 5 Domain/OS authentication error: %1$s (%2$s/%3$s) 6 Can not open server authorization file %1$s\n 7 Cannot write server authorization file %1$s\n diff --git a/cde/programs/dtlogin/session.c b/cde/programs/dtlogin/session.c index 1226c810..e8fe43e9 100644 --- a/cde/programs/dtlogin/session.c +++ b/cde/programs/dtlogin/session.c @@ -1145,7 +1145,7 @@ SessionExit( struct display *d, int status ) /* make sure the server gets reset after the session is over */ if (d->serverPid >= 2) { - Debug("Reseting server: pid %d signal %d\n", + Debug("Resetting server: pid %d signal %d\n", d->serverPid, d->resetSignal); if (d->terminateServer == 0 && d->resetSignal) diff --git a/cde/programs/dtlogin/vgmain.c b/cde/programs/dtlogin/vgmain.c index ae9b811c..ab8889bd 100644 --- a/cde/programs/dtlogin/vgmain.c +++ b/cde/programs/dtlogin/vgmain.c @@ -1587,7 +1587,7 @@ MakeGreeting( void ) } /* - * replace all occurrances of %LocalHost% and %DisplayName% + * replace all occurrences of %LocalHost% and %DisplayName% * in the current substring... */ @@ -1624,7 +1624,7 @@ MakeGreeting( void ) XmFONTLIST_DEFAULT_TAG)); /* - * add a line seperator if this is a multi-line greeting... + * add a line separator if this is a multi-line greeting... */ if ( newLine == True ) { diff --git a/cde/programs/dtlogin/vgmsg.h b/cde/programs/dtlogin/vgmsg.h index d37b0eb5..356a052d 100644 --- a/cde/programs/dtlogin/vgmsg.h +++ b/cde/programs/dtlogin/vgmsg.h @@ -379,7 +379,7 @@ screen unreadable.\n\ #define MC_DEF_LOG_ACC_FILE "Access file \"%1$s\", host \"%2$s\" not found\n" #define MC_DEF_LOG_HOST_ENT "ReadHostEntry\n" #define MC_DEF_LOG_ACC_DPY "Access file %1$2s, display %1$2s unknown\n" -#define MC_DEF_LOG_ACC_CTL "Cannot open access control file %1$s, no XDMCP reqeusts will be granted\n" +#define MC_DEF_LOG_ACC_CTL "Cannot open access control file %1$s, no XDMCP requests will be granted\n" #define MC_DEF_LOG_DOMAIN "Domain/OS authentication error: %1$s (%2$s/%3$s)" #define MC_DEF_LOG_SRV_OPEN "Can not open server authorization file %1$s\n" #define MC_DEF_LOG_SRV_WRT "Cannot write server authorization file %1$s\n" diff --git a/cde/programs/dtmail/dtmail/Attachment.C b/cde/programs/dtmail/dtmail/Attachment.C index 6bf94c24..905bf43e 100644 --- a/cde/programs/dtmail/dtmail/Attachment.C +++ b/cde/programs/dtmail/dtmail/Attachment.C @@ -1247,7 +1247,7 @@ Attachment::setContents() size = strlen(from_hdr) + int(_myContentsSize) + 3; buffer = new char[size]; - // Look for the first occurance of a colon or a newline. + // Look for the first occurrence of a colon or a newline. char *sptr; for (sptr = (char*) _myContents; *sptr && *sptr != '\n' && *sptr != ':'; diff --git a/cde/programs/dtmail/dtmail/Notifier.C b/cde/programs/dtmail/dtmail/Notifier.C index 4d7331b5..80428d68 100644 --- a/cde/programs/dtmail/dtmail/Notifier.C +++ b/cde/programs/dtmail/dtmail/Notifier.C @@ -220,7 +220,7 @@ Notifier::addInterval(int interval_ms, void Notifier::removeInterval(IntervalId id) { - // The Id is really the TimerEvent structure pointer. We dont have + // The Id is really the TimerEvent structure pointer. We don't have // a key for these objects so we will have to enumerate the entire // list of timer events until we find the appropriate key. // diff --git a/cde/programs/dtmail/dtmail/RoamApp.C b/cde/programs/dtmail/dtmail/RoamApp.C index edf28ca1..8e1c4c6a 100644 --- a/cde/programs/dtmail/dtmail/RoamApp.C +++ b/cde/programs/dtmail/dtmail/RoamApp.C @@ -1189,7 +1189,7 @@ void RoamApp::initialize(int *argcp, char **argv) // Create a fontlist that contains the glyph and user fonts strcpy(buf, _user_font); #if 0 - // Never refer to the "plain" tag so dont add it. + // Never refer to the "plain" tag so don't add it. if (strchr(_user_font, '=') == NULL) { // No tag. Add one strcat(buf, "=plain, "); diff --git a/cde/programs/dtmail/dtmail/SendMsgDialog.C b/cde/programs/dtmail/dtmail/SendMsgDialog.C index 2589264c..93961b2e 100644 --- a/cde/programs/dtmail/dtmail/SendMsgDialog.C +++ b/cde/programs/dtmail/dtmail/SendMsgDialog.C @@ -861,7 +861,7 @@ SendMsgDialog::loadHeaders(DtMail::Message * input, int slot = lookupHeader(name); if (slot < 0) { - // We dont have a place for this information. We may need + // We don't have a place for this information. We may need // to create a new header. // if (load_all) { @@ -3905,7 +3905,7 @@ SendMsgDialog::resetHeaders(void) for (i=0, j=results.length(); i < j; i++) { PropStringPair * psp = results[i]; int slot = lookupHeader(psp->label); - // dont allow removal of default headers. + // don't allow removal of default headers. HeaderList * hl = _header_list[slot]; if (!reservedHeader(hl->label)) { if (slot != -1) diff --git a/cde/programs/dtmail/dtmail/dtb_utils.C b/cde/programs/dtmail/dtmail/dtb_utils.C index cdb1d228..951f8722 100644 --- a/cde/programs/dtmail/dtmail/dtb_utils.C +++ b/cde/programs/dtmail/dtmail/dtb_utils.C @@ -306,7 +306,7 @@ dtb_cvt_file_to_pixmap( /* - * Sets both the sensitive and insensitve pixmaps + * Sets both the sensitive and insensitive pixmaps */ int dtb_set_label_from_bitmap_data( @@ -399,7 +399,7 @@ dtb_set_label_pixmaps( } /* - * Set the approriate resources. + * Set the appropriate resources. */ XtVaSetValues(widget, XmNlabelType, XmPIXMAP, NULL); if (labelPixmap != 0) diff --git a/cde/programs/dtmail/include/DtMail/DtMailError.hh b/cde/programs/dtmail/include/DtMail/DtMailError.hh index 93b5ddea..f86e7179 100644 --- a/cde/programs/dtmail/include/DtMail/DtMailError.hh +++ b/cde/programs/dtmail/include/DtMail/DtMailError.hh @@ -177,7 +177,7 @@ public: // // logError() and logFatalError(): // - // This will print out in a formated way all of the error information + // This will print out in a formatted way all of the error information // that it can. it also sends the results to the system log device for // bug tracking. // diff --git a/cde/programs/dtmail/libDtMail/Common/DtMailRc.C b/cde/programs/dtmail/libDtMail/Common/DtMailRc.C index 67def537..66c1e0a6 100644 --- a/cde/programs/dtmail/libDtMail/Common/DtMailRc.C +++ b/cde/programs/dtmail/libDtMail/Common/DtMailRc.C @@ -714,7 +714,7 @@ DtMail::MailRc::outputLine(const char * verbatim, struct cmd * com = (struct cmd *)lex(word); if (com == NONE) { - // We dont know the command, so just copy the line. + // We don't know the command, so just copy the line. // fwrite(verbatim, 1, strlen(verbatim), outf); return; @@ -1299,7 +1299,7 @@ DtMail::MailRc::wgroup(const char * verbatim, char ** argv, FILE * outf) char * cur = (char *)hm_test((struct hash **)glob.g_alias, argv[0]); if (!cur || (!clearAliases && hm_ismarked((struct hash **)glob.g_alias, argv[0]))) { - // Its been removed or written. Dont write it to the file. + // Its been removed or written. Don't write it to the file. free(buf); return; } @@ -1869,7 +1869,7 @@ DtMail::MailRc::wigfield(const char * verbatim, char ** list, FILE * outf) } // Create a new ignore line, leaving out the ignores that have - // been removed. Also, dont write any ignores that have been + // been removed. Also, don't write any ignores that have been // previously written. // for (ap = list; *ap; ap++) { diff --git a/cde/programs/dtmail/libDtMail/Common/IO.C b/cde/programs/dtmail/libDtMail/Common/IO.C index 05ff0dc1..bbd3e725 100644 --- a/cde/programs/dtmail/libDtMail/Common/IO.C +++ b/cde/programs/dtmail/libDtMail/Common/IO.C @@ -297,7 +297,7 @@ SafeWriteStrip(int fd, const void * buf, size_t bytes) int i, j; char *ptr = (char*)buf, *writebuf; - // bug 5856: dont write out control M + // bug 5856: don't write out control M // make a finite size buffer for writing writebuf = (char*) malloc(bytes < SWS_BUFFERSIZE ? bytes : SWS_BUFFERSIZE); diff --git a/cde/programs/dtmail/libDtMail/RFC/MIMEBodyPart.C b/cde/programs/dtmail/libDtMail/RFC/MIMEBodyPart.C index 25a95db5..bcd888d0 100644 --- a/cde/programs/dtmail/libDtMail/RFC/MIMEBodyPart.C +++ b/cde/programs/dtmail/libDtMail/RFC/MIMEBodyPart.C @@ -331,7 +331,7 @@ MIMEBodyPart::getDtType(DtMailEnv & error) // We must have an exact 1:1 mapping between the mime type and the // CDE type to use this inverse mapping. If we have no hits then we - // dont have any thing to use. If we have several hits, then we have + // don't have any thing to use. If we have several hits, then we have // no idea which type is the correct type. // if (NULL != types) { @@ -649,7 +649,7 @@ MIMEBodyPart::loadBody(DtMailEnv & error) char * MIMEBodyPart::getDescription(DtMailEnv &) { - // Dont have this return anything without checking + // Don't have this return anything without checking // ramifications with getNameHeaderValue // No need to clear error object here because we assume it has already diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCBodyPart.C b/cde/programs/dtmail/libDtMail/RFC/RFCBodyPart.C index 882b8fb3..3bd91306 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCBodyPart.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCBodyPart.C @@ -463,13 +463,13 @@ RFCBodyPart::adjustBodyPartsLocation(char * start) if (_body_env && _my_env == DTM_TRUE) { // CMVC bug 2807 - // start points at the body part seperator. Need to - // Skip seperator. Put in a sanity check until we know + // start points at the body part separator. Need to + // Skip separator. Put in a sanity check until we know // this is the right fix if (*start != '-' && *(start + 1) != '-') { fprintf( stderr, - "RFCBodyPart::adjustBodyPartLocation(%.20s): Not a seperator\n", + "RFCBodyPart::adjustBodyPartLocation(%.20s): Not a separator\n", start); } else { while (*start != '\n') diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCEnvelope.C b/cde/programs/dtmail/libDtMail/RFC/RFCEnvelope.C index bf37fa5a..5a830a15 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCEnvelope.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCEnvelope.C @@ -354,7 +354,7 @@ RFCEnvelope::setHeader(DtMailEnv & error, error.clear(); // First we need to see if we have this header. We are - // only interested in the first occurance. + // only interested in the first occurrence. // ParsedHeader * hdr; const char * real_name; @@ -498,7 +498,7 @@ RFCEnvelope::adjustHeaderLocation(char * headerStart, int headerLength) else { // We must adjust the offset of every header in the parsed header // structure. For those headers values that have been malloc()ed - // (e.g. NAME_MASK or VALUE_MASK are set), dont have to do anything + // (e.g. NAME_MASK or VALUE_MASK are set), don't have to do anything // as they are deallocated only when the header is destroyed. // for (int hdr = 0; hdr < _parsed_headers.length(); hdr++) { diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCMIME.C b/cde/programs/dtmail/libDtMail/RFC/RFCMIME.C index c188744e..f31196fb 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCMIME.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCMIME.C @@ -268,7 +268,7 @@ RFCMIME::getEncodingType(const char * body, } - // Deal with buffers that dont end with a new line. + // Deal with buffers that don't end with a new line. // if ((cur - last_nl) > 76) { encode = DTM_TRUE; @@ -378,7 +378,7 @@ RFCMIME::getEncodingType(const char * body, } } - // Deal with buffers that dont end with a new line. + // Deal with buffers that don't end with a new line. // if (strict_mime && ((cur - last_nl) > 76)) { qprint_growth += 2; @@ -1303,7 +1303,7 @@ RFCMIME::formatBodies(DtMailEnv & error, const void *tmp_ptr; error.clear(); bp->getContents(error, &tmp_ptr, &bp_len, NULL, &name, NULL, NULL); - // We dont want to change the contents of the msg. + // We don't want to change the contents of the msg. if (bp_len > 0) { bp_contents = (char*)malloc((unsigned int)bp_len); memcpy(bp_contents, (char*)tmp_ptr, (size_t)bp_len); @@ -1663,7 +1663,7 @@ RFCMIME::getHdrEncodingType(const char * body, } - // Deal with buffers that dont end with a new line. + // Deal with buffers that don't end with a new line. // if ((cur - last_nl) > 76) { encode = DTM_TRUE; diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCMailBox.C b/cde/programs/dtmail/libDtMail/RFC/RFCMailBox.C index 46c6e20d..a2a98e97 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCMailBox.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCMailBox.C @@ -1481,7 +1481,7 @@ RFCMailBox::openRealFile(DtMailEnv & error, int open_mode, mode_t create_mode) break; default: // - // locality otherwise -- assume remote dont lock + // locality otherwise -- assume remote don't lock // break; } @@ -2237,7 +2237,7 @@ RFCMailBox::parseFile(DtMailEnv & error, int map_slot) unsigned long pagelimit = _mappings[map_slot]->map_size; #if !defined(__linux__) && !defined(sun) - // no madvise; dont use optimization + // no madvise; don't use optimization madvise( (char *)_mappings[map_slot]->map_region, (size_t) pagelimit, MADV_SEQUENTIAL); @@ -2328,7 +2328,7 @@ RFCMailBox::parseFile(DtMailEnv & error, int map_slot) // tell the kernel to pull in the minimum number of extra pages. // #if !defined(__linux__) && !defined(sun) - // no madvise; dont use optimization + // no madvise; don't use optimization madvise( (char *)_mappings[map_slot]->map_region, (size_t) pagelimit, MADV_RANDOM); @@ -2730,7 +2730,7 @@ RFCMailBox::NewMailEvent( // that new mail has arrived. // // 3. The file size is either smaller, or it is larger and the first - // few bytes dont match #2. This is the worse possible case. This + // few bytes don't match #2. This is the worse possible case. This // means that somebody has modified the object from beneath us. // We will turn on our "lost state" mode and refuse to do any // further processing. This thread exits immediately. @@ -4048,7 +4048,7 @@ RFCMailBox::lockFile(DtMailEnv & error) // lockNewMailboxFile -- before renaming a new mailbox file over an old // mailbox file, we need to establish a lock on the new mailbox file is // a lock was established on the old mailbox file. Since the .lock protocol -// works on a file name basis we dont have to worry here, but if this +// works on a file name basis we don't have to worry here, but if this // system uses lockf() to lock the files we need to establish that lock // on the new file first before renaming it over the old mailbox file. // diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C b/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C index a8be6da4..d09e0c69 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C @@ -784,7 +784,7 @@ RFCTransport::launchSendmail(DtMailEnv & error, long maxOpenFiles = sysconf(_SC_OPEN_MAX); if (maxOpenFiles < 32) // less than 32 descriptors? - maxOpenFiles = 1024; // dont believe it--assume lots + maxOpenFiles = 1024; // don't believe it--assume lots for (int sig = 1; sig < NSIG; sig++) (void) signal(sig, SIG_DFL); // REset all signal handlers @@ -1035,7 +1035,7 @@ RFCTransport::startSubprocess(DtMailEnv &error, char * cmd, // less than 32 descriptors? if (maxOpenFiles < 32) { - // dont believe it--assume lots + // don't believe it--assume lots maxOpenFiles = 1024; } diff --git a/cde/programs/dtmail/libDtMail/RFC/SunV3.C b/cde/programs/dtmail/libDtMail/RFC/SunV3.C index 11340430..38b9a303 100644 --- a/cde/programs/dtmail/libDtMail/RFC/SunV3.C +++ b/cde/programs/dtmail/libDtMail/RFC/SunV3.C @@ -231,7 +231,7 @@ SunV3::formatBodies(DtMailEnv & error, if (bp->flagIsSet(error, DtMailBodyPartDeletePending)) continue; - // First, put out the message seperator. It is a very + // First, put out the message separator. It is a very // weak line of 10 dashes. // buf.appendData("----------", 10); @@ -437,7 +437,7 @@ SunV3::formatHeaders(DtMailEnv & error, // const unsigned long inputLen -- number of bytes in encoded source text // Outputs: // **outputBp -- will contain a -> a newly allocated buffer containing -// the decoded message - dont forget to deallocate when done +// the decoded message - don't forget to deallocate when done // off -- contains the number of bytes in the decoded message at **buf // Description // This function will decode the specified source message according to the @@ -727,7 +727,7 @@ SunV3::uncompress(char ** outputBp, int & outputLen, const char * inputBp, const long maxOpenFiles = sysconf(_SC_OPEN_MAX); if (maxOpenFiles < 32) // less than 32 descriptors? - maxOpenFiles = 1024; // dont believe it--assume lots + maxOpenFiles = 1024; // don't believe it--assume lots for (int sig = 1; sig < NSIG; sig++) (void) signal(sig, SIG_DFL); // reset all signal handlers if (SafeDup2 (inputPipe[pipeReader], STDIN_FILENO) == -1) // input pipe reader is stdin @@ -751,9 +751,9 @@ SunV3::uncompress(char ** outputBp, int & outputLen, const char * inputBp, const (void) SafeClose(outputPipe[pipeWriter]); // output pipe writer n/a #if defined(O_NONBLOCK) - fcntl(inputPipe[pipeWriter], F_SETFL, O_NONBLOCK); // we dont want to block writing to child + fcntl(inputPipe[pipeWriter], F_SETFL, O_NONBLOCK); // we don't want to block writing to child #elif defined(FNBIO) - (void) fcntl(inputPipe[pipeWriter], F_SETFL, FNBIO); // we dont want to block writing to child + (void) fcntl(inputPipe[pipeWriter], F_SETFL, FNBIO); // we don't want to block writing to child #endif // Ok, uncompress is out there spinning its wheels waiting for us diff --git a/cde/programs/dtpad/ttMsgSupport.c b/cde/programs/dtpad/ttMsgSupport.c index b9016f1a..93fad184 100644 --- a/cde/programs/dtpad/ttMsgSupport.c +++ b/cde/programs/dtpad/ttMsgSupport.c @@ -583,7 +583,7 @@ TTstartDesktopMediaExchange( } /* - * Join the default sesssion, + * Join the default session, * and register to deal with standard Desktop requests in the following * manner (controlled by the Ttdt_contract_cb and shell arguments): * @@ -816,7 +816,7 @@ TTmediaReply( /************************************************************************ - * TTresetQuitArgs - resets TTDT_QUIT argments set in TTdt_message_acceptCB() + * TTresetQuitArgs - resets TTDT_QUIT arguments set in TTdt_message_acceptCB() ************************************************************************/ void TTresetQuitArgs( diff --git a/cde/programs/dtpad/ttSaveSupport.c b/cde/programs/dtpad/ttSaveSupport.c index e6423b34..10b19b0e 100644 --- a/cde/programs/dtpad/ttSaveSupport.c +++ b/cde/programs/dtpad/ttSaveSupport.c @@ -398,7 +398,7 @@ TTCreateSavePattern( /************************************************************************ - * TTresetSaveArgs - resets TTDT_SAVE argments set in TTSaveContractCB() + * TTresetSaveArgs - resets TTDT_SAVE arguments set in TTSaveContractCB() ************************************************************************/ void TTresetSaveArgs( diff --git a/cde/programs/dtpdmd/util.c b/cde/programs/dtpdmd/util.c index 69f42a63..5b3fd151 100644 --- a/cde/programs/dtpdmd/util.c +++ b/cde/programs/dtpdmd/util.c @@ -242,7 +242,7 @@ xpstrtok( 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. */ diff --git a/cde/programs/dtprintinfo/libUI/BaseUI.h b/cde/programs/dtprintinfo/libUI/BaseUI.h index 57d31ab1..6544ce18 100644 --- a/cde/programs/dtprintinfo/libUI/BaseUI.h +++ b/cde/programs/dtprintinfo/libUI/BaseUI.h @@ -453,7 +453,7 @@ class BaseUI { // Dumps object to stdout virtual void Dump(boolean verbose = false, int level = 0); - // Dumps object heirarchy to stdout + // Dumps object hierarchy to stdout void DumpHierarchy(boolean verbose = false, int level = 0); diff --git a/cde/programs/dtprintinfo/objects/BaseObj.h b/cde/programs/dtprintinfo/objects/BaseObj.h index 87369c56..d6df4657 100644 --- a/cde/programs/dtprintinfo/objects/BaseObj.h +++ b/cde/programs/dtprintinfo/objects/BaseObj.h @@ -273,7 +273,7 @@ class BaseObj { // Dumps object to stdout void Dump(boolean verbose = false, int level = 0); - // Dumps object heirarchy to stdout + // Dumps object hierarchy to stdout void DumpHierarchy(boolean verbose = false, int level = 0); diff --git a/cde/programs/dtsession/SmGlobals.c b/cde/programs/dtsession/SmGlobals.c index dfd4c3e9..7a4f513b 100644 --- a/cde/programs/dtsession/SmGlobals.c +++ b/cde/programs/dtsession/SmGlobals.c @@ -2607,7 +2607,7 @@ SetAlternateSession ( /* * The directory for the specified session exists * but it doesn't have any client databases. Start - * a new user session. If a user wants a sesssion + * a new user session. If a user wants a session * with no apps, they should create a zero-length * session database. */ diff --git a/cde/programs/dtsession/SmRestore.c b/cde/programs/dtsession/SmRestore.c index bf4a7d33..e505ed60 100644 --- a/cde/programs/dtsession/SmRestore.c +++ b/cde/programs/dtsession/SmRestore.c @@ -1384,7 +1384,7 @@ RestoreSettings( void ) /* * This is only involked when there is auto repeats set for * specific keys only. It is VERY SLOW code so unless you - * have to save off auto repeats for single keys - DONT + * have to save off auto repeats for single keys - DON'T */ while(tmpKey != NULL) { @@ -1795,7 +1795,7 @@ RestoreIndependentResources( void ) * If this is the first DT 3.0 session for a DT 2.0 user then we will * also launch the helpviewer. If this is the first DT 3.0 session for a * DT 2.0 user then we will also run convertVS.sh to change all - * occurances of /usr/bin/X11/hpterm to .../dt/bin/hpterm, + * occurrences of /usr/bin/X11/hpterm to .../dt/bin/hpterm, * /usr/bin/X11/xterm to .../dt/bin/xterm and * /usr/bin/X11/xload to .../dt/bin/xload. * diff --git a/cde/programs/dtsession/SrvFile_io.c b/cde/programs/dtsession/SrvFile_io.c index 4fa748e0..60edcdee 100644 --- a/cde/programs/dtsession/SrvFile_io.c +++ b/cde/programs/dtsession/SrvFile_io.c @@ -170,7 +170,7 @@ char *palette) if (path != NULL) { /* Loop through paletteDirectories looking in each directory - * till we find the palette file. Take first occurrance. + * till we find the palette file. Take first occurrence. * Copy directory name into dir. Look for NULL or space */ diff --git a/cde/programs/dtsr/dtsrindex.c b/cde/programs/dtsr/dtsrindex.c index aee9c3f5..a251599c 100644 --- a/cde/programs/dtsr/dtsrindex.c +++ b/cde/programs/dtsr/dtsrindex.c @@ -327,8 +327,8 @@ static void print_exit_code (int exit_code) * scaled to range 0 to 255. * Fundamentally it's a word count of that word in the doc, * but adjusted as follows: - * 1) Large occurrances in small documents weigh more than - * the same number of occurrances in large documents. + * 1) Large occurrences in small documents weigh more than + * the same number of occurrences in large documents. * 2) Taking the log skews the ratio to be more linear, * ie take advantage of higher ranges of the 'weight'. * For example a word that occurs in 10% of the document, diff --git a/cde/programs/dtsr/huffcode.c b/cde/programs/dtsr/huffcode.c index 8dd1d6c5..2215ba68 100644 --- a/cde/programs/dtsr/huffcode.c +++ b/cde/programs/dtsr/huffcode.c @@ -45,7 +45,7 @@ /************************** HUFFCODE.C ****************************** * $XConsortium: huffcode.c /main/9 1996/11/14 15:31:05 rcs $ * 12/90. - * Counts frequency of occurrance of every possible byte value of input text. + * Counts frequency of occurrence of every possible byte value of input text. * Creates Huffman Code Table based on byte frequencies and writes it * in 2 formats to 2 different output files. * The encode table (.huf) maintains the frequency counts and explicitly @@ -167,7 +167,7 @@ typedef struct { char bit; /* '0' or '1' (assoc with link to * father) */ - long count; /* freq of occurrance of char */ + long count; /* freq of occurrence of char */ int sort; /* specifies output sort order */ int father; /* index points UP toward root of * tree */ diff --git a/cde/programs/dtterm/Dtterm.ad.src b/cde/programs/dtterm/Dtterm.ad.src index 4ef8788a..21567401 100644 --- a/cde/programs/dtterm/Dtterm.ad.src +++ b/cde/programs/dtterm/Dtterm.ad.src @@ -45,7 +45,7 @@ XCOMM include "Dt" !*menu_popup.menuAccelerator: osfMenu ! The following resources define dtterm's appearance. They follow the -! current dtterm widget heirarchy which may change in future releases +! current dtterm widget hierarchy which may change in future releases ! of dtterm without notice. ! ! Widget Class Instance Name diff --git a/cde/programs/dtterm/flags b/cde/programs/dtterm/flags index 44e18f6e..dc029b71 100644 --- a/cde/programs/dtterm/flags +++ b/cde/programs/dtterm/flags @@ -17,7 +17,7 @@ the form: or separating individual flags or ranges by commas. It is possible to specify bits in the same fashion. If no value bits -are specified, all 100 bits are set. If no flags are specfied, none +are specified, all 100 bits are set. If no flags are specified, none are set. Individual entries may be separated by spaces. A few examples: A-z: sets all debug bits diff --git a/cde/programs/dtterm/tests/shared/qalib.c b/cde/programs/dtterm/tests/shared/qalib.c index 5d88035e..550a3644 100644 --- a/cde/programs/dtterm/tests/shared/qalib.c +++ b/cde/programs/dtterm/tests/shared/qalib.c @@ -285,7 +285,7 @@ STRLEN(Char *S) /* this function only supports returning position of one char (not - a string). "num" is the occurance of the character's position to + a string). "num" is the occurrence of the character's position to return. */ Static short strpos2(Char *S1, Char *S2, short num) diff --git a/cde/programs/dtwm/WmManage.c b/cde/programs/dtwm/WmManage.c index e79d8e3b..c2232643 100644 --- a/cde/programs/dtwm/WmManage.c +++ b/cde/programs/dtwm/WmManage.c @@ -782,7 +782,7 @@ ManageWindow (WmScreenData *pSD, Window clientWindow, long manageFlags) * Set the keyboard input focus to the newly managed window if appropriate: * - focus is automatically set only if the focus policy is explicit * - if there is a system modal window active then set the focus only - * if the new window is in the system modal heirarchy + * if the new window is in the system modal hierarchy * - focus is automatically set if startupKeyFocus is selected or * the new window is a system modal window or the current focus window * has the new window as an application modal subordinate diff --git a/cde/programs/dtwm/WmOL.c b/cde/programs/dtwm/WmOL.c index d46e481b..a3bae64b 100644 --- a/cde/programs/dtwm/WmOL.c +++ b/cde/programs/dtwm/WmOL.c @@ -290,7 +290,7 @@ GetOLDecorFlags( */ for (i = 0; i < nitems; i++) { if (pAtoms[i] == wmGD.xa_OL_DECOR_RESIZE) - *pDecor |= OLDecorResizeable; + *pDecor |= OLDecorResizable; else if (pAtoms[i] == wmGD.xa_OL_DECOR_HEADER) *pDecor |= OLDecorHeader; else if (pAtoms[i] == wmGD.xa_OL_DECOR_CLOSE) @@ -384,7 +384,7 @@ ProcessOLDecoration( if (GetOLDecorAdd(pCD,&OLdecor)) { - if (OLdecor & OLDecorResizeable) + if (OLdecor & OLDecorResizable) { decorMask |= WM_DECOR_RESIZEH; } @@ -409,7 +409,7 @@ ProcessOLDecoration( if (GetOLDecorDel(pCD,&OLdecor)) { - if (OLdecor & OLDecorResizeable) + if (OLdecor & OLDecorResizable) { decorMask &= ~MWM_DECOR_RESIZEH; } diff --git a/cde/programs/dtwm/WmOL.h b/cde/programs/dtwm/WmOL.h index 2e1b9cdf..189d212c 100644 --- a/cde/programs/dtwm/WmOL.h +++ b/cde/programs/dtwm/WmOL.h @@ -111,7 +111,7 @@ typedef struct _old_OLWinAttr { #define OLDecorFooter (1L<<1) #define OLDecorPushPin (1L<<2) #define OLDecorCloseButton (1L<<3) -#define OLDecorResizeable (1L<<4) +#define OLDecorResizable (1L<<4) #define OLDecorIconName (1L<<5) #define OLDecorWarpToPin (1L<<6) diff --git a/cde/programs/dtwm/WmResParse.c b/cde/programs/dtwm/WmResParse.c index 394e65d4..f9498ecc 100644 --- a/cde/programs/dtwm/WmResParse.c +++ b/cde/programs/dtwm/WmResParse.c @@ -1463,7 +1463,7 @@ void ParseSessionWorkspaces (WmScreenData *pSD, int count, if ((pSD->pDtSessionItems[count].workspaces = (String)XtMalloc ((unsigned int) (strlen((char *)string) + 1))) == NULL) { - Warning (((char *)GETMESSAGE(60, 2, "Insufficient memory for workspaces list in sesssion item"))); + Warning (((char *)GETMESSAGE(60, 2, "Insufficient memory for workspaces list in session item"))); return; } @@ -1584,7 +1584,7 @@ void ParseSessionHost (WmScreenData *pSD, int count, NULL) { Warning (((char *)GETMESSAGE(60, 38, - "Insufficient memory for host name in sesssion item"))); + "Insufficient memory for host name in session item"))); return; } diff --git a/cde/programs/dtwm/WmWinInfo.c b/cde/programs/dtwm/WmWinInfo.c index 6faa401b..9fa21da0 100644 --- a/cde/programs/dtwm/WmWinInfo.c +++ b/cde/programs/dtwm/WmWinInfo.c @@ -3459,7 +3459,7 @@ FixWindowSize (ClientData *pCD, unsigned int *pWidth, unsigned int *pHeight, uns WmScreenData *pSD = pCD->pSD; /* - * All occurances of maxHeight and maxWidth in this routing has been + * All occurrences of maxHeight and maxWidth in this routing has been * hacked to use maxHeightLimit and maxWidthLimit as the real max when * maximumClientSize is set to 'horizontal' or 'vertical', since * pCD->maxHeight and pCD->maxWidth is fiddle to on reconfiguration. diff --git a/cde/programs/dtwm/dtwm.msg b/cde/programs/dtwm/dtwm.msg index cd3f04c8..98506248 100644 --- a/cde/programs/dtwm/dtwm.msg +++ b/cde/programs/dtwm/dtwm.msg @@ -397,7 +397,7 @@ $ message 40 so that these labels match the keycaps on your $ local keyboard. $ 1 Insufficient memory for session geometry item -2 Insufficient memory for workspaces list in sesssion item +2 Insufficient memory for workspaces list in session item 3 Insufficient memory for commandArgv array 4 Insufficient memory for commandArgv item 5 Insufficient memory for Dt Session Hints @@ -434,7 +434,7 @@ $ 35 Insufficient memory for config file conversion 36 Insufficient memory to process included file: %s 37 Expected '{' -38 Insufficient memory for host name in sesssion item +38 Insufficient memory for host name in session item 39 Could not reopen configuration file %s $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/icons/DtCMa_m.bm b/cde/programs/icons/DtCMa_m.bm index b7d65fcd..415b6d63 100644 --- a/cde/programs/icons/DtCMa_m.bm +++ b/cde/programs/icons/DtCMa_m.bm @@ -10,7 +10,7 @@ #define calendarbw_m.xbm_height 98 #define calendarbw_m.xbm_x_hot 0 #define calendarbw_m.xbm_y_hot 0 -static char calanderbw_m.xbm_bits[] = { +static char calendarbw_m.xbm_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x07, 0x00, diff --git a/cde/programs/localized/de_DE.ISO8859-1/msg/dtfile.msg b/cde/programs/localized/de_DE.ISO8859-1/msg/dtfile.msg index 1f7f8307..bef56066 100644 --- a/cde/programs/localized/de_DE.ISO8859-1/msg/dtfile.msg +++ b/cde/programs/localized/de_DE.ISO8859-1/msg/dtfile.msg @@ -947,7 +947,7 @@ Fehler fehlgeschlagen. Der interne Fehler ist:" interner Fehler fehlgeschlagen. \n\ Der interne Fehler ist:" -55 "Den Systemadminstrator benachrichtigen" +55 "Den Systemadministrator benachrichtigen" 56 "(Unbekannt):" diff --git a/cde/programs/localized/de_DE.ISO8859-1/msg/dtwm.msg b/cde/programs/localized/de_DE.ISO8859-1/msg/dtwm.msg index 15e9306a..49e001f5 100644 --- a/cde/programs/localized/de_DE.ISO8859-1/msg/dtwm.msg +++ b/cde/programs/localized/de_DE.ISO8859-1/msg/dtwm.msg @@ -475,7 +475,7 @@ $ 1 "Insufficient memory for session geometry item" -2 "Insufficient memory for workspaces list in sesssion item" +2 "Insufficient memory for workspaces list in session item" 3 "Insufficient memory for commandArgv array" @@ -543,7 +543,7 @@ $ 37 "Expected '{' " -38 "Insufficient memory for host name in sesssion item" +38 "Insufficient memory for host name in session item" 39 "Could not reopen configuration file %s" $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/localized/el_GR.UTF-8/msg/dtwm.msg b/cde/programs/localized/el_GR.UTF-8/msg/dtwm.msg index aec254b8..204d41cb 100644 --- a/cde/programs/localized/el_GR.UTF-8/msg/dtwm.msg +++ b/cde/programs/localized/el_GR.UTF-8/msg/dtwm.msg @@ -395,7 +395,7 @@ $ message 40 so that these labels match the keycaps on your $ local keyboard. $ 1 Insufficient memory for session geometry item -2 Insufficient memory for workspaces list in sesssion item +2 Insufficient memory for workspaces list in session item 3 Insufficient memory for commandArgv array 4 Insufficient memory for commandArgv item 5 Insufficient memory for Dt Session Hints @@ -432,7 +432,7 @@ $ 35 Insufficient memory for config file conversion 36 Insufficient memory to process included file: %s 37 Expected '{' -38 Insufficient memory for host name in sesssion item +38 Insufficient memory for host name in session item 39 Could not reopen configuration file %s $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/localized/es_ES.ISO8859-1/msg/dtwm.msg b/cde/programs/localized/es_ES.ISO8859-1/msg/dtwm.msg index ba750728..a1723eca 100644 --- a/cde/programs/localized/es_ES.ISO8859-1/msg/dtwm.msg +++ b/cde/programs/localized/es_ES.ISO8859-1/msg/dtwm.msg @@ -471,7 +471,7 @@ $ 1 "Insufficient memory for session geometry item" -2 "Insufficient memory for workspaces list in sesssion item" +2 "Insufficient memory for workspaces list in session item" 3 "Insufficient memory for commandArgv array" @@ -539,7 +539,7 @@ $ 37 "Expected '{' " -38 "Insufficient memory for host name in sesssion item" +38 "Insufficient memory for host name in session item" 39 "Could not reopen configuration file %s" $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/localized/fr_FR.ISO8859-1/msg/dtwm.msg b/cde/programs/localized/fr_FR.ISO8859-1/msg/dtwm.msg index ceefbd2c..d6b144b7 100644 --- a/cde/programs/localized/fr_FR.ISO8859-1/msg/dtwm.msg +++ b/cde/programs/localized/fr_FR.ISO8859-1/msg/dtwm.msg @@ -471,7 +471,7 @@ $ 1 "Insufficient memory for session geometry item" -2 "Insufficient memory for workspaces list in sesssion item" +2 "Insufficient memory for workspaces list in session item" 3 "Insufficient memory for commandArgv array" @@ -539,7 +539,7 @@ $ 37 "Expected '{' " -38 "Insufficient memory for host name in sesssion item" +38 "Insufficient memory for host name in session item" 39 "Could not reopen configuration file %s" $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/localized/it_IT.ISO8859-1/msg/dtwm.msg b/cde/programs/localized/it_IT.ISO8859-1/msg/dtwm.msg index b6aa6185..b89eedb2 100644 --- a/cde/programs/localized/it_IT.ISO8859-1/msg/dtwm.msg +++ b/cde/programs/localized/it_IT.ISO8859-1/msg/dtwm.msg @@ -397,7 +397,7 @@ $ message 40 so that these labels match the keycaps on your $ local keyboard. $ 1 Insufficient memory for session geometry item -2 Insufficient memory for workspaces list in sesssion item +2 Insufficient memory for workspaces list in session item 3 Insufficient memory for commandArgv array 4 Insufficient memory for commandArgv item 5 Insufficient memory for Dt Session Hints @@ -434,7 +434,7 @@ $ 35 Insufficient memory for config file conversion 36 Insufficient memory to process included file: %s 37 Expected '{' -38 Insufficient memory for host name in sesssion item +38 Insufficient memory for host name in session item 39 Could not reopen configuration file %s $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/localized/ja_JP.dt-eucJP/msg/dtwm.msg b/cde/programs/localized/ja_JP.dt-eucJP/msg/dtwm.msg index f3d8fabe..c9c0f519 100644 --- a/cde/programs/localized/ja_JP.dt-eucJP/msg/dtwm.msg +++ b/cde/programs/localized/ja_JP.dt-eucJP/msg/dtwm.msg @@ -395,7 +395,7 @@ $ message 40 so that these labels match the keycaps on your $ local keyboard. $ 1 Insufficient memory for session geometry item -2 Insufficient memory for workspaces list in sesssion item +2 Insufficient memory for workspaces list in session item 3 Insufficient memory for commandArgv array 4 Insufficient memory for commandArgv item 5 Insufficient memory for Dt Session Hints @@ -432,7 +432,7 @@ $ 35 Insufficient memory for config file conversion 36 Insufficient memory to process included file: %s 37 Expected '{' -38 Insufficient memory for host name in sesssion item +38 Insufficient memory for host name in session item 39 Could not reopen configuration file %s $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/localized/sv_SE.ISO8859-1/msg/dtbuilder.msg b/cde/programs/localized/sv_SE.ISO8859-1/msg/dtbuilder.msg index 7de06473..781724b0 100644 --- a/cde/programs/localized/sv_SE.ISO8859-1/msg/dtbuilder.msg +++ b/cde/programs/localized/sv_SE.ISO8859-1/msg/dtbuilder.msg @@ -1378,7 +1378,7 @@ $ ** You can edit this comment and add comments below each message. 31 "Cancel" 32 "None" 33 " " -34 "The Action3 button is specified as the\ndefault button, but it is not specfied\nto exist in the message dialog." +34 "The Action3 button is specified as the\ndefault button, but it is not specified\nto exist in the message dialog." 35 "A string must be entered for the Action3 button." 36 "Apply Changes" 37 "No buttons are specified to exist in\nthe message dialog. There must be \nat least one button in the message." diff --git a/cde/programs/localized/sv_SE.ISO8859-1/msg/dtcodegen.msg b/cde/programs/localized/sv_SE.ISO8859-1/msg/dtcodegen.msg index 819d737c..88093589 100644 --- a/cde/programs/localized/sv_SE.ISO8859-1/msg/dtcodegen.msg +++ b/cde/programs/localized/sv_SE.ISO8859-1/msg/dtcodegen.msg @@ -25,7 +25,7 @@ $set 1 15 "file is specified, a project file containing the specified module(s) is\n" 16 "searched for in the current directory.\n\n" 17 "Files with extension .bip are assumend to be BIL project files, files with\n" -18 ".bix extenstion are assumed to be encapsulated BIL files, and files\n" +18 ".bix extension are assumed to be encapsulated BIL files, and files\n" 19 "with a .bil extension are assumed to be BIL module files.\n" 20 "Options (* = default, + = default with no project file):\n" 21 " -help (-h) Print out this help message\n" diff --git a/cde/programs/localized/sv_SE.ISO8859-1/msg/dtwm.msg b/cde/programs/localized/sv_SE.ISO8859-1/msg/dtwm.msg index c80c053a..8620584f 100644 --- a/cde/programs/localized/sv_SE.ISO8859-1/msg/dtwm.msg +++ b/cde/programs/localized/sv_SE.ISO8859-1/msg/dtwm.msg @@ -372,7 +372,7 @@ $ message 40 so that these labels match the keycaps on your $ local keyboard. $ 1 Insufficient memory for session geometry item -2 Insufficient memory for workspaces list in sesssion item +2 Insufficient memory for workspaces list in session item 3 Insufficient memory for commandArgv array 4 Insufficient memory for commandArgv item 5 Insufficient memory for Dt Session Hints @@ -409,7 +409,7 @@ $ 35 Insufficient memory for config file conversion 36 Insufficient memory to process included file: %s 37 Expected '{' -38 Insufficient memory for host name in sesssion item +38 Insufficient memory for host name in session item 39 Could not reopen configuration file %s $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/localized/zh_TW.dt-eucTW/msg/dtwm.msg b/cde/programs/localized/zh_TW.dt-eucTW/msg/dtwm.msg index ad6edd4f..d330afcc 100644 --- a/cde/programs/localized/zh_TW.dt-eucTW/msg/dtwm.msg +++ b/cde/programs/localized/zh_TW.dt-eucTW/msg/dtwm.msg @@ -373,7 +373,7 @@ $ message 40 so that these labels match the keycaps on your $ local keyboard. $ 1 Insufficient memory for session geometry item -2 Insufficient memory for workspaces list in sesssion item +2 Insufficient memory for workspaces list in session item 3 Insufficient memory for commandArgv array 4 Insufficient memory for commandArgv item 5 Insufficient memory for Dt Session Hints @@ -410,7 +410,7 @@ $ 35 Insufficient memory for config file conversion 36 Insufficient memory to process included file: %s 37 Expected '{' -38 Insufficient memory for host name in sesssion item +38 Insufficient memory for host name in session item 39 Could not reopen configuration file %s $ Message 40 is used to remap the menu accelerator diff --git a/cde/programs/types/demo/datatyping.c b/cde/programs/types/demo/datatyping.c index d49cd583..7301c409 100644 --- a/cde/programs/types/demo/datatyping.c +++ b/cde/programs/types/demo/datatyping.c @@ -74,7 +74,7 @@ startup(int argc, char **argv) if( DtInitialize(XtDisplay(toplevel), toplevel, argv[0], "Dt_TYPE") == False) { - printf(" couldn't initialize everthing\n"); + printf(" couldn't initialize everything\n"); exit(1); } diff --git a/cde/programs/types/nlsREADME.txt b/cde/programs/types/nlsREADME.txt index 361bb56a..af4daf2e 100644 --- a/cde/programs/types/nlsREADME.txt +++ b/cde/programs/types/nlsREADME.txt @@ -11,7 +11,7 @@ Introduction: The files in this directory contain the DT 3.0 action and filetype definitions. - The syntax for the DT 3.0 defintions is much different than the + The syntax for the DT 3.0 definitions is much different than the DT 2.0 syntax. The most significant change is that the each field in a definition is on a separate line and each field is identified by a keyword. Other important changes are: filetype diff --git a/cde/programs/util/dttypes/dttypes.c b/cde/programs/util/dttypes/dttypes.c index dc529e1e..2340cf1f 100644 --- a/cde/programs/util/dttypes/dttypes.c +++ b/cde/programs/util/dttypes/dttypes.c @@ -120,7 +120,7 @@ init(int *argc, char **argv) if (DtInitialize(XtDisplay(toplevel), toplevel, argv[0], "Dttype") == False) { - fprintf(stderr, "couldn't initialize everthing\n"); + fprintf(stderr, "couldn't initialize everything\n"); return(0); } diff --git a/cde/programs/util/dttypes/dttypes.msg b/cde/programs/util/dttypes/dttypes.msg index 81663026..985adfea 100644 --- a/cde/programs/util/dttypes/dttypes.msg +++ b/cde/programs/util/dttypes/dttypes.msg @@ -8,7 +8,7 @@ $set 1 $ Do not Translate 2 "Dttype" $ Do not Translate -3 "couldn't initialize everthing\n" +3 "couldn't initialize everything\n" 4 "NULL" $ this should mean a "Empty string". 5 "=============== %s ===============\n" -- 2.25.1