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

Fix 39 spelling errors and a formatting issue

A column of whitespace in the NEWS file was removed for consistent
formatting. Most of the spelling errors were found with this
codespell dictionary:
https://github.com/orbitcowboy/codespell_dictionary

(cherry picked from commit 0e36b17abe5609c461a3e4da7041eb0fdf9991b7)
This commit is contained in:
Johnothan King 2020-06-10 05:16:53 -07:00 committed by Martijn Dekker
parent 90fd867171
commit e92faddbf9
22 changed files with 53 additions and 53 deletions

View file

@ -1211,7 +1211,7 @@
01-02-08 sfgetm,sfputm,_sfputm: fix max clash with k&r max() macro
setlocale: undef valid for sun4 k&r valid() macro
01-02-07 catopen.c: don't do native catopen for the debug locale
01-02-06 sfraise.c: add SF_FINAL check to avoid (posibly) freed disciplines
01-02-06 sfraise.c: add SF_FINAL check to avoid (possibly) freed disciplines
01-01-01 features/common: fix uwin __DEFINE__
sftable: initialize decimal and thousand
magic.tab: add corel wordperfect document

View file

@ -142,7 +142,7 @@ struct _dtdisc_s
/* the dictionary structure itself */
struct _dt_s
{ Dtsearch_f searchf;/* search function */
Dtdisc_t* disc; /* object type definitition */
Dtdisc_t* disc; /* object type definition */
Dtdata_t* data; /* shareable data */
Dtmemory_f memoryf;/* for memory allocation */
Dtmethod_t* meth; /* storage method */

View file

@ -303,7 +303,7 @@ closes the current method (releasing its resources),
temporarily instantiates the default method
(either \f5ASO_INTRINSIC\fP if available or \f5AS_SIGNAL\fP otherwise),
and initializes \f5meth\fP and instantiates it as the new method.
If \f5disc\fP is \f50\fP the the global discpline is not modified.
If \f5disc\fP is \f50\fP the the global discipline is not modified.
If \f5meth\fP is \f50\fP then \f51\fP is returned if \f5asoinit()\fP has
already been called to initialize a method, otherwise \f50\fP is returned.
If \f5meth->lockf\fP is \f50\fP and \f5(meth->type & ASO_INTRINSIC) != 0\fP
@ -332,7 +332,7 @@ if (data || !(asometh(0, 0)->type & (ASO_INTRINSIC|ASO_THREAD))) {
else if (asoinit(meth, 0, 0, ASO_VERSION))
/* error -- method initialization error */;
}
/* ready for \fIASO\fP operaions */
/* ready for \fIASO\fP operations */
.Ce
A multi-process application would check for \f5(ASO_INTRINSIC|ASO_PROCESS)\fP
instead of \f5(ASO_INTRINSIC|ASO_THREAD)\fP.
@ -340,7 +340,7 @@ instead of \f5(ASO_INTRINSIC|ASO_THREAD)\fP.
.PP
.SH IMPLEMENTATION NOTES
Unlike other \fIAST\fP library discipline/method functions which can instantiate
multiple discpline/method handles within a single process, the \fIASO\fP
multiple discipline/method handles within a single process, the \fIASO\fP
library allows only one discipline and method to be set at a time, with the additional
restriction that it may only be set by the main and only thread of the calling process.
For this reason there is no open/close interface with an instantiation handle;

View file

@ -195,7 +195,7 @@ Standard shell
setup is done for the child process.
.TP
.L PROC_CLEANUP
Parent process redirection file discriptors are closed on error.
Parent process redirection file descriptors are closed on error.
.TP
.L PROC_DAEMON
Standard daemon setup is done for the child process.

View file

@ -50,7 +50,7 @@
* a default base of 1 will determine the base from the input using bb#*
* a base prefix in the string overrides *b
* *b will not be set if the string has no base prefix
* if m>1 and no multipler was specified then the result is multiplied by m
* if m>1 and no multiplier was specified then the result is multiplied by m
* if m<0 then multipliers are not consumed
* if a base arg or prefix is specified then multiplier is not consumed
*