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

@ -55,7 +55,7 @@
10-11-22 ditto.sh: fix timing problem between |& and exec &p
10-11-10 package.sh: fix cc cross compile check to use checkcc absolute path
10-10-10 package.sh: list main env vars at start of make action
10-10-10 ratz.c: tweak widnows delays
10-10-10 ratz.c: tweak windows delays
10-09-10 ratz.c: add _SEAR_ARGS for _SEAR_EXEC
10-09-01 package.sh: fix ratz from source logic
10-08-25 package.mk: consolidate license file search in .package.licenses.
@ -425,7 +425,7 @@
03-09-11 iffe.sh: add unnamed { ... } blocks
regress.sh: add COPY from to, like MOVE but comprison still done
regress.sh: rm -rfu to handle test dirs w/o u+rwx
03-08-14 Makfile: add hello.c to the manifest
03-08-14 Makefile: add hello.c to the manifest
03-08-11 package.sh: fix `html binary' generation
03-06-21 package.sh: fix INITROOT initialization bug
package.sh: make sure admin logs exists before tail'ing
@ -760,7 +760,7 @@
00-09-21 mamake: add libxxx and xxx to makefile ordered prereqs
00-09-19 C+probe: add probe_longlong
00-09-11 package: drop manmake and $PACKAGEROOT/bin/nmake
00-09-08 iffe: verfiy that $cc is a C compiler
00-09-08 iffe: verify that $cc is a C compiler
00-06-14 mamprobe: fix win32.* probe
mamake: fix bug that used lower view path for generation
package: don't clobber $PACKAGEROOT/bin/nmake

View file

@ -53,7 +53,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
[d:delete?Delete \adestination\a files that are not in the \asource\a.]
[e:expr?\btw\b(1) select expression.]:[tw-expression]
[m!:mode?Preserve file mode.]
[n:show?Show the operations but do not exectute.]
[n:show?Show the operations but do not execute.]
[o:owner?Preserve file user and group ownership.]
[p:physical?Generate source and destination hierarchies by \btw\b(1) with
the \b--physical\b option.]

View file

@ -995,7 +995,7 @@
no longer causes an error. It now is used for the "showme" option.
09-09-09 A bug in which a subshell containing a background process could
block until the background process completed has been fixed.
09-09-04 A bug in handing ${var[sub]}, where var is a nameref has been fixed.
09-09-04 A bug in handling ${var[sub]}, where var is a nameref has been fixed.
09-09-03 A bug which caused an index array to have the wrong number of elements
when it was converted from a compound variable by adding an another
element has been fixed.
@ -2374,7 +2374,7 @@
evaluation. It has higher precedence than * and is left
associative.
01-09-25 The code was modified to use the ast multibyte macros
and functions for handing multibyte locales.
and functions for handling multibyte locales.
01-09-25 +The expansion ${parameter:offset:length} now handles negative
offsets which cause offsets to be measured from the end.
01-09-25 Some spelling errors in the documentation were corrected.

View file

@ -200,7 +200,7 @@ of ksh.
positioned for the last command of a script has been fixed.
y. A bug in the edit modes which allowed walking back in
the history file for more than HISTSIZE commands has
beed fixed.
been fixed.
z. A bug which could cause a core dump if variable TMPDIR was
changed between two command substitutions has been fixed.
aa. A bug which prevented a trap on EXIT from being cleared

View file

@ -1378,7 +1378,7 @@ USAGE_LICENSE
"[+?If the neither \b-s\b nor \b-c\b is specified, then the first \barg\b "
"will be the pathname of the file containing commands and \b$0\b "
"will be set to this value. If there is no file with this pathname, "
"and this pathame does not contain a \b/\b, then the \bPATH\b "
"and this pathname does not contain a \b/\b, then the \bPATH\b "
"will be searched for an executable with this name. Any remaining "
"\aarg\as will be used to initialize the positional parameters.]"
"[+?Any option can use a \b+\b instead of a \b-\b to disable the corresponding "

View file

@ -2427,7 +2427,7 @@ expands to the 8 fields,
.BR z01cx ,
.B z04bx
and
.BR z4cx .
.BR z04cx .
.SS File Name Generation.
Following splitting, each field is scanned for the characters
.BR \(** ,

View file

@ -348,7 +348,7 @@ static void setids(int mode,int owner,int group)
/* set effective uid even if S_ISUID is not set. This is because
* we are *really* executing EUID root at this point. Even if S_ISUID
* is not set, the value for owner that is passsed should be correct.
* is not set, the value for owner that is passed should be correct.
*/
setreuid(ruserid,owner);
}

View file

@ -292,7 +292,7 @@ $SHELL -c "$SHELL -c ': 3>&1' 1>&- 2>/dev/null" && err_exit 'closed standard out
[[ $(cat <<- \EOF | $SHELL
do_it_all()
{
dd 2>/dev/null # not a ksh93 buildin
dd 2>/dev/null # not a ksh93 builtin
return $?
}
do_it_all ; exit $?

View file

@ -58,12 +58,12 @@ ln -s $SHELL rksh
PATH=$PWD:$PATH
rksh -c '[[ -o restricted ]]' || err_exit 'restricted option not set'
[[ $(rksh -c 'print hello') == hello ]] || err_exit 'unable to run print'
check_restricted "$binecho" || err_exit "$binecho not resticted"
check_restricted ./echo || err_exit './echo not resticted'
check_restricted 'SHELL=ksh' || err_exit 'SHELL assignment not resticted'
check_restricted 'PATH=/bin' || err_exit 'PATH assignment not resticted'
check_restricted 'FPATH=/bin' || err_exit 'FPATH assignment not resticted'
check_restricted 'ENV=/bin' || err_exit 'ENV assignment not resticted'
check_restricted "$binecho" || err_exit "$binecho not restricted"
check_restricted ./echo || err_exit './echo not restricted'
check_restricted 'SHELL=ksh' || err_exit 'SHELL assignment not restricted'
check_restricted 'PATH=/bin' || err_exit 'PATH assignment not restricted'
check_restricted 'FPATH=/bin' || err_exit 'FPATH assignment not restricted'
check_restricted 'ENV=/bin' || err_exit 'ENV assignment not restricted'
check_restricted 'print > file' || err_exit '> file not restricted'
> empty
check_restricted 'print <> empty' || err_exit '<> file not restricted'

View file

@ -68,7 +68,7 @@ done
EOF
} | head > /dev/null
(( $? == 0)) || err_exit "SIGPIPE with wrong error code $?"
# The below is kind of bogus as the err_exit from a bg job is never counterd. But see extra check below.
# The below is kind of bogus as the err_exit from a bg job is never counted. But see extra check below.
[[ $(<out2) == $'PIPED\nPIPED' ]] || err_exit 'SIGPIPE output on standard error is not correct'
) &
cop=$!