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:
parent
90fd867171
commit
e92faddbf9
22 changed files with 53 additions and 53 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 \(** ,
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 $?
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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=$!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue