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

Fix a large number of typos and other problems (#110)

Most of these fixes are for typos and extra whitespace at the
end of lines. These are the notable changes:
- Fixed a compatibility issue with how asterisks are displayed
  using certain fonts. Bug report: https://github.com/att/ast/issues/764
- Fixed a bug in the man page that caused searches for the '|'
  character to fail. Bug report: https://github.com/att/ast/issues/871
- Removed a duplicate description of 'set -B' from the man
  page. Bug report: https://github.com/att/ast/issues/789
- Added documentation for options missing from the ksh man
  page (applies to 'hist -N', 'sleep -s', 'whence -q' and
  many of ulimit's options). Bug reports:
  https://github.com/att/ast/issues/948
  https://github.com/att/ast/issues/503#issuecomment-386649715
  https://github.com/att/ast/issues/507#issuecomment-507924608
- Applied the following ksh2020 documentation fixes:
  https://github.com/att/ast/pull/351
  https://github.com/att/ast/pull/352
- Fixed a minor GCC -Wformat warning in procopen.c by changing
  a sentinel to NULL.
This commit is contained in:
Johnothan King 2020-08-06 16:50:11 -07:00 committed by GitHub
parent 338586896d
commit f9fdbfc9e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 487 additions and 432 deletions

View file

@ -52,7 +52,7 @@ and its
.IR value .
A
.I key
is a sequence of
is a sequence of
.L char
elements and a
.I value
@ -116,7 +116,7 @@ The number of lookup collisions.
.RE
.TP
.L "Hash_table_t* scope"
The table that this scope covers,
The table that this scope covers,
.L NULL
if the table is not a scope.
.TP
@ -215,11 +215,11 @@ if
is specified and
.IR strcmp (3)
otherwise.
The first argument is the
The first argument is the
.I key
from the current hash bucket on the
from the current hash bucket on the
.I "collision chain"
and the second argument is the user supplied
and the second argument is the user supplied
.IR key .
.TP
.L "HASH_free, (int(*)()) free"
@ -230,7 +230,7 @@ If
was set in
.L hashalloc
then the hash bucket pointer is passed, otherwise the bucket
.L value
.L value
pointer is passed.
.TP
.L "HASH_hash, (int(*)()) hash"
@ -275,7 +275,7 @@ Changes the hash table flags by
.IR or ing
in
.LR flags .
The flags, which may be
The flags, which may be
.IR or ed
together, are:
.RS
@ -321,7 +321,7 @@ in the hash table
.L tab
according to
.L flags
and
and
.LR value .
A
.L Hash_bucket_t
@ -408,7 +408,7 @@ value is returned.
For
.L HASH_LOOKUP
the bucket
.L value
.L value
field is returned,
.L NULL
if the bucket is not found.
@ -481,7 +481,7 @@ in the hash table
.LR tab .
If
.L flags
is
is
.L HASH_NOSCOPE
then only the top level hash table is used, otherwise the walk includes
all scope covered tables.
@ -514,7 +514,7 @@ pointer for a sequential scan on the hash table
.LR tab .
If
.L flags
is
is
.L HASH_NOSCOPE
then only the top level hash table is used, otherwise the scan includes
all scope covered tables.
@ -534,9 +534,9 @@ If no elements remain then
is returned.
.TP
.L "void hashdone(Hash_position_t* pos)"
Completes a scan initiated by
Completes a scan initiated by
.L hashscan()
on
on
.LR pos .
.TP
.L "int hashset(Hash_table_t* tab, int flags)"
@ -567,14 +567,14 @@ may be cleared.
Dumps hash table accounting info to standard error.
If
.L tab
is
is
.L NULL
then all allocated hash tables are dumped, otherwise only information on
.L tab
is dumped.
If
.L flags
is
is
.L HASH_BUCKET
then the hash bucket
.I key-value