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

fix 24 more typos found with the help of codespell

(cherry picked from commit a92198bc5f196ec1b4a34dc042ff3a594e316ad7)
This commit is contained in:
Martijn Dekker 2020-05-30 15:55:30 +01:00
parent 7003aba487
commit 482d1c3dd6
19 changed files with 24 additions and 24 deletions

2
NEWS
View file

@ -35,7 +35,7 @@ Any uppercase BUG_* names are modernish shell bug IDs.
'<#pattern'. The bug was caused by out-of-sync streams. '<#pattern'. The bug was caused by out-of-sync streams.
Details and discussion: https://github.com/att/ast/issues/61 Details and discussion: https://github.com/att/ast/issues/61
- Patched code injection vulerability CVE-2019-14868. As a result, you can - Patched code injection vulnerability CVE-2019-14868. As a result, you can
no longer use expressions in imported numeric environment variables; only no longer use expressions in imported numeric environment variables; only
integer literals are allowed. integer literals are allowed.

View file

@ -140,7 +140,7 @@ All recorded changes follow.
11-03-21 package.sh: fix vpath probes 11-03-21 package.sh: fix vpath probes
11-03-17 iffe.sh: fix cleanup to rm $tmp* instead of $tmp*.* 11-03-17 iffe.sh: fix cleanup to rm $tmp* instead of $tmp*.*
11-02-24 package.sh: change curl usage to "curl -L ..." 11-02-24 package.sh: change curl usage to "curl -L ..."
11-02-11 package.sh,C+probe,make.probe,mamprobe.sh: add ###.*archiac.*### 11-02-11 package.sh,C+probe,make.probe,mamprobe.sh: add ###.*archaic.*###
11-02-02 Makefile: add :MAPLIB: check for ancient -lw 11-02-02 Makefile: add :MAPLIB: check for ancient -lw
11-02-02 make.probe: handle -print-multi-directory => 64 => /usr/lib64 /lib64 11-02-02 make.probe: handle -print-multi-directory => 64 => /usr/lib64 /lib64
11-02-02 package.sh: HOSTTYPE=*,*cc*[,-*,...] sets CC [ and CCFLAGS ] 11-02-02 package.sh: HOSTTYPE=*,*cc*[,-*,...] sets CC [ and CCFLAGS ]

View file

@ -102,7 +102,7 @@ All recorded changes follow.
11-03-21 package.sh: fix vpath probes 11-03-21 package.sh: fix vpath probes
11-03-17 iffe.sh: fix cleanup to rm $tmp* instead of $tmp*.* 11-03-17 iffe.sh: fix cleanup to rm $tmp* instead of $tmp*.*
11-02-24 package.sh: change curl usage to "curl -L ..." 11-02-24 package.sh: change curl usage to "curl -L ..."
11-02-11 package.sh,C+probe,make.probe,mamprobe.sh: add ###.*archiac.*### 11-02-11 package.sh,C+probe,make.probe,mamprobe.sh: add ###.*archaic.*###
11-02-02 Makefile: add :MAPLIB: check for ancient -lw 11-02-02 Makefile: add :MAPLIB: check for ancient -lw
11-02-02 make.probe: handle -print-multi-directory =&gt; 64 =&gt; /usr/lib64 /lib64 11-02-02 make.probe: handle -print-multi-directory =&gt; 64 =&gt; /usr/lib64 /lib64
11-02-02 package.sh: HOSTTYPE=*,*cc*&#0091;,-*,...&#0093; sets CC &#0091; and CCFLAGS &#0093; 11-02-02 package.sh: HOSTTYPE=*,*cc*&#0091;,-*,...&#0093; sets CC &#0091; and CCFLAGS &#0093;

View file

@ -7079,7 +7079,7 @@ All recorded changes follow.
12-06-28 aso/aso.c: asoinit(0,0,0): 0: no specific init, 1: app initialized 12-06-28 aso/aso.c: asoinit(0,0,0): 0: no specific init, 1: app initialized
12-06-27 sfio/sfvprintf.c: allow { L* z* } aliases for I* -- posix will probably pick one 12-06-27 sfio/sfvprintf.c: allow { L* z* } aliases for I* -- posix will probably pick one
12-06-26 regex/regnexec.c: fix uninitialized variable reference 12-06-26 regex/regnexec.c: fix uninitialized variable reference
12-06-26 comp/setlocale.c: utf8_wctomb() now calls (the corrrect) wc2utf8() 12-06-26 comp/setlocale.c: utf8_wctomb() now calls (the correct) wc2utf8()
12-06-25 string/chresc.c: accept \u[U+<hex>] and \u{U+<hex>} 12-06-25 string/chresc.c: accept \u[U+<hex>] and \u{U+<hex>}
12-06-24 regex/regcomp.c: mb [^...] must be marked "complicated" 12-06-24 regex/regcomp.c: mb [^...] must be marked "complicated"
12-06-20 port/astconf.c: increase DEBUG_astconf error debug levels (may leach into rt output) 12-06-20 port/astconf.c: increase DEBUG_astconf error debug levels (may leach into rt output)

View file

@ -8136,7 +8136,7 @@ All recorded changes follow.
12-06-28 aso/aso.c: asoinit(0,0,0): 0: no specific init, 1: app initialized 12-06-28 aso/aso.c: asoinit(0,0,0): 0: no specific init, 1: app initialized
12-06-27 sfio/sfvprintf.c: allow { L* z* } aliases for I* -- posix will probably pick one 12-06-27 sfio/sfvprintf.c: allow { L* z* } aliases for I* -- posix will probably pick one
12-06-26 regex/regnexec.c: fix uninitialized variable reference 12-06-26 regex/regnexec.c: fix uninitialized variable reference
12-06-26 comp/setlocale.c: utf8_wctomb() now calls (the corrrect) wc2utf8() 12-06-26 comp/setlocale.c: utf8_wctomb() now calls (the correct) wc2utf8()
12-06-25 string/chresc.c: accept \u&#0091;U+&lt;hex&gt;&#0093; and \u{U+&lt;hex&gt;} 12-06-25 string/chresc.c: accept \u&#0091;U+&lt;hex&gt;&#0093; and \u{U+&lt;hex&gt;}
12-06-24 regex/regcomp.c: mb &#0091;^...&#0093; must be marked "complicated" 12-06-24 regex/regcomp.c: mb &#0091;^...&#0093; must be marked "complicated"
12-06-20 port/astconf.c: increase DEBUG_astconf error debug levels (may leach into rt output) 12-06-20 port/astconf.c: increase DEBUG_astconf error debug levels (may leach into rt output)

View file

@ -30,7 +30,7 @@
* :LICENSE: license-class-pattern * :LICENSE: license-class-pattern
* :CATEGORY: category-id ... * :CATEGORY: category-id ...
* :COVERS: package ... * :COVERS: package ...
* :REQURES: package ... * :REQUIRES: package ...
* :INDEX: index description line * :INDEX: index description line
* :DESCRIPTION: * :DESCRIPTION:
* [ verbose description ] * [ verbose description ]

View file

@ -45,7 +45,7 @@
11-03-21 package.sh: fix vpath probes 11-03-21 package.sh: fix vpath probes
11-03-17 iffe.sh: fix cleanup to rm $tmp* instead of $tmp*.* 11-03-17 iffe.sh: fix cleanup to rm $tmp* instead of $tmp*.*
11-02-24 package.sh: change curl usage to "curl -L ..." 11-02-24 package.sh: change curl usage to "curl -L ..."
11-02-11 package.sh,C+probe,make.probe,mamprobe.sh: add ###.*archiac.*### 11-02-11 package.sh,C+probe,make.probe,mamprobe.sh: add ###.*archaic.*###
11-02-02 Makefile: add :MAPLIB: check for ancient -lw 11-02-02 Makefile: add :MAPLIB: check for ancient -lw
11-02-02 make.probe: handle -print-multi-directory => 64 => /usr/lib64 /lib64 11-02-02 make.probe: handle -print-multi-directory => 64 => /usr/lib64 /lib64
11-02-02 package.sh: HOSTTYPE=*,*cc*[,-*,...] sets CC [ and CCFLAGS ] 11-02-02 package.sh: HOSTTYPE=*,*cc*[,-*,...] sets CC [ and CCFLAGS ]

View file

@ -30,7 +30,7 @@
* :LICENSE: license-class-pattern * :LICENSE: license-class-pattern
* :CATEGORY: category-id ... * :CATEGORY: category-id ...
* :COVERS: package ... * :COVERS: package ...
* :REQURES: package ... * :REQUIRES: package ...
* :INDEX: index description line * :INDEX: index description line
* :DESCRIPTION: * :DESCRIPTION:
* [ verbose description ] * [ verbose description ]

View file

@ -1398,7 +1398,7 @@ typedef struct internal_state {
int nice_match; /* Stop searching when current match exceeds this */ int nice_match; /* Stop searching when current match exceeds this */
/* used by trees.c: */ /* used by trees.c: */
/* Didn't use ct_data typedef below to supress compiler warning */ /* Didn't use ct_data typedef below to suppress compiler warning */
struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */ struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */
struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */ struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */ struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */
@ -3822,7 +3822,7 @@ gzFile ZEXPORT gzfopen (fp, mode)
/* =========================================================================== /* ===========================================================================
Read a byte from a gz_stream; update next_in and avail_in. Return EOF Read a byte from a gz_stream; update next_in and avail_in. Return EOF
for end of file. for end of file.
IN assertion: the stream s has been sucessfully opened for reading. IN assertion: the stream s has been successfully opened for reading.
*/ */
local int get_byte(s) local int get_byte(s)
gz_stream *s; gz_stream *s;
@ -3847,7 +3847,7 @@ local int get_byte(s)
mode to transparent if the gzip magic header is not present; set s->err mode to transparent if the gzip magic header is not present; set s->err
to Z_DATA_ERROR if the magic header is present but the rest of the header to Z_DATA_ERROR if the magic header is present but the rest of the header
is incorrect. is incorrect.
IN assertion: the stream s has already been created sucessfully; IN assertion: the stream s has already been created successfully;
s->stream.avail_in is zero for the first time, but may be non-zero s->stream.avail_in is zero for the first time, but may be non-zero
for concatenated .gz files. for concatenated .gz files.
*/ */

View file

@ -59,7 +59,7 @@
12-06-06 A bug in which exporting left or right justified fields could loose 12-06-06 A bug in which exporting left or right justified fields could loose
the field width has been fixed. the field width has been fixed.
12-06-06 A bug on Solaris11 in which >; did not work for /dev/null was fixed. 12-06-06 A bug on Solaris11 in which >; did not work for /dev/null was fixed.
12-06-05 A race condition which occured when stopping a builtin command 12-06-05 A race condition which occurred when stopping a builtin command
invoked from a subshell has been fixed. invoked from a subshell has been fixed.
12-06-05 A bug with appending elements to an empty indexed array has been 12-06-05 A bug with appending elements to an empty indexed array has been
fixed. fixed.

View file

@ -1290,7 +1290,7 @@ USAGE_LICENSE
"can be created.]" "can be created.]"
"[r?Do not treat \b\\\b specially when processing the input line.]" "[r?Do not treat \b\\\b specially when processing the input line.]"
"[s?Save a copy of the input as an entry in the shell history file.]" "[s?Save a copy of the input as an entry in the shell history file.]"
"[S?Treat the input as if it was saved from a spreasheet in csv format.]" "[S?Treat the input as if it was saved from a spreadsheet in csv format.]"
"[u]#[fd:=0?Read from file descriptor number \afd\a instead of standard input.]" "[u]#[fd:=0?Read from file descriptor number \afd\a instead of standard input.]"
"[t]:[timeout?Specify a timeout \atimeout\a in seconds when reading from " "[t]:[timeout?Specify a timeout \atimeout\a in seconds when reading from "
"a terminal or pipe.]" "a terminal or pipe.]"

View file

@ -502,7 +502,7 @@ The first argument is the original node, the second argument is
the new node, and the third argument is the flags that were passed the new node, and the third argument is the flags that were passed
down to \f5nv_clone()\fP. down to \f5nv_clone()\fP.
It must return a new instance of the \f5Namfun_t*\fP \f5fp\fP. It must return a new instance of the \f5Namfun_t*\fP \f5fp\fP.
If omitted, then memory whose size is determinated by the \f5size\fP If omitted, then memory whose size is determined by the \f5size\fP
field of \f5fp\fP, if non-zero, or \f5fp->disc\fP, will be allocated field of \f5fp\fP, if non-zero, or \f5fp->disc\fP, will be allocated
and copied from \f5fp\fP. and copied from \f5fp\fP.
.PP .PP

View file

@ -675,7 +675,7 @@ typeset -a arr=( ( 1 2 3 ) ( 4 5 6 ) ( 7 8 9 ))
typeset -n ref=arr[1] typeset -n ref=arr[1]
[[ $ref == 4 ]] || err_exit '$ref should be 4' [[ $ref == 4 ]] || err_exit '$ref should be 4'
[[ ${ref[@]} == '4 5 6' ]] || err_exit '${ref[@]} should be "4 5 6"' [[ ${ref[@]} == '4 5 6' ]] || err_exit '${ref[@]} should be "4 5 6"'
[[ $ref == "${arr[1]}" ]] || err_exit '$ref shuld be ${arr[1]}' [[ $ref == "${arr[1]}" ]] || err_exit '$ref should be ${arr[1]}'
[[ ${ref[@]} == "${arr[1][@]}" ]] || err_exit '${ref[@]} should be ${arr[1][@]}' [[ ${ref[@]} == "${arr[1][@]}" ]] || err_exit '${ref[@]} should be ${arr[1][@]}'
function fun2 function fun2

View file

@ -59,10 +59,10 @@ rksh -c '[[ -o restricted ]]' || err_exit 'restricted option not set'
[[ $(rksh -c 'print hello') == hello ]] || err_exit 'unable to run print' [[ $(rksh -c 'print hello') == hello ]] || err_exit 'unable to run print'
check_restricted /bin/echo || err_exit '/bin/echo not resticted' check_restricted /bin/echo || err_exit '/bin/echo not resticted'
check_restricted ./echo || err_exit './echo not resticted' check_restricted ./echo || err_exit './echo not resticted'
check_restricted 'SHELL=ksh' || err_exit 'SHELL asignment not resticted' check_restricted 'SHELL=ksh' || err_exit 'SHELL assignment not resticted'
check_restricted 'PATH=/bin' || err_exit 'PATH asignment not resticted' check_restricted 'PATH=/bin' || err_exit 'PATH assignment not resticted'
check_restricted 'FPATH=/bin' || err_exit 'FPATH asignment not resticted' check_restricted 'FPATH=/bin' || err_exit 'FPATH assignment not resticted'
check_restricted 'ENV=/bin' || err_exit 'ENV asignment not resticted' check_restricted 'ENV=/bin' || err_exit 'ENV assignment not resticted'
check_restricted 'print > file' || err_exit '> file not restricted' check_restricted 'print > file' || err_exit '> file not restricted'
> empty > empty
check_restricted 'print <> empty' || err_exit '<> file not restricted' check_restricted 'print <> empty' || err_exit '<> file not restricted'

View file

@ -654,7 +654,7 @@ test1
test2 test2
# Test visibilty of "global" vs. "static" variables. if we have a "static" variable in a # Test visibility of "global" vs. "static" variables. if we have a "static" variable in a
# function and "unset" it we should see a global variable with the same # function and "unset" it we should see a global variable with the same
# name, right ? # name, right ?
integer hx=5 integer hx=5

View file

@ -3,7 +3,7 @@
12-06-28 aso/aso.c: asoinit(0,0,0): 0: no specific init, 1: app initialized 12-06-28 aso/aso.c: asoinit(0,0,0): 0: no specific init, 1: app initialized
12-06-27 sfio/sfvprintf.c: allow { L* z* } aliases for I* -- posix will probably pick one 12-06-27 sfio/sfvprintf.c: allow { L* z* } aliases for I* -- posix will probably pick one
12-06-26 regex/regnexec.c: fix uninitialized variable reference 12-06-26 regex/regnexec.c: fix uninitialized variable reference
12-06-26 comp/setlocale.c: utf8_wctomb() now calls (the corrrect) wc2utf8() 12-06-26 comp/setlocale.c: utf8_wctomb() now calls (the correct) wc2utf8()
12-06-25 string/chresc.c: accept \u[U+<hex>] and \u{U+<hex>} 12-06-25 string/chresc.c: accept \u[U+<hex>] and \u{U+<hex>}
12-06-24 regex/regcomp.c: mb [^...] must be marked "complicated" 12-06-24 regex/regcomp.c: mb [^...] must be marked "complicated"
12-06-20 port/astconf.c: increase DEBUG_astconf error debug levels (may leach into rt output) 12-06-20 port/astconf.c: increase DEBUG_astconf error debug levels (may leach into rt output)

View file

@ -295,7 +295,7 @@ Sfdisc_t* dp;
/* /*
* push the more discipline on f * push the more discipline on f
* if prompt==0 then a default ansi prompt is used * if prompt==0 then a default ansi prompt is used
* if rows==0 or cols==0 then they are deterimined from the tty * if rows==0 or cols==0 then they are determined from the tty
* if f==sfstdout then input on sfstdin also resets the state * if f==sfstdout then input on sfstdin also resets the state
*/ */

View file

@ -107,7 +107,7 @@ struct _glob_
#define GLOB_STARSTAR 0x0080 /* enable [/]**[/] expansion */ #define GLOB_STARSTAR 0x0080 /* enable [/]**[/] expansion */
#define GLOB_BRACE 0x0100 /* enable {...} expansion */ #define GLOB_BRACE 0x0100 /* enable {...} expansion */
#define GLOB_ICASE 0x0200 /* ignore case on match */ #define GLOB_ICASE 0x0200 /* ignore case on match */
#define GLOB_COMPLETE 0x0400 /* shell file completeion */ #define GLOB_COMPLETE 0x0400 /* shell file completion */
#define GLOB_AUGMENTED 0x0800 /* augmented shell patterns */ #define GLOB_AUGMENTED 0x0800 /* augmented shell patterns */
#define GLOB_STACK 0x1000 /* allocate on current stack */ #define GLOB_STACK 0x1000 /* allocate on current stack */
#define GLOB_LIST 0x2000 /* just create gl_list */ #define GLOB_LIST 0x2000 /* just create gl_list */

View file

@ -130,7 +130,7 @@ static char *overflow(int n)
} }
/* /*
* initialize stkstd, sfio operations may have already occcured * initialize stkstd, sfio operations may have already occurred
*/ */
static void stkinit(size_t size) static void stkinit(size_t size)
{ {