Skip to content

Commit ceb40c3

Browse files
Fix typos (#313)
1 parent 14f8a92 commit ceb40c3

59 files changed

Lines changed: 100 additions & 100 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

00DIST

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,7 @@ Supplement Regenerated the 4.04 distribution to correct a non-
19031903
possible. PTX 4.4.4 requires clnt_create().
19041904

19051905
4.41 February 27, 1999
1906-
Added FreeBSD 3.1 and and 4.0 support with help
1906+
Added FreeBSD 3.1 and 4.0 support with help
19071907
from Sheldon Hearn <axl@iafrica.com>, David O'Brien
19081908
<obrien@NUXI.com>, and John Polstra <jdp@polstra.com>.
19091909

@@ -4016,7 +4016,7 @@ Supplement Regenerated the 4.04 distribution to correct a non-
40164016
a patch to 4.75.
40174017

40184018
Added support for Solaris 10 port and CTFS files. The
4019-
CTFS support is imcomplete, because I don't know how
4019+
CTFS support is incomplete, because I don't know how
40204020
to get inode number, size and link count. (There's
40214021
a new 00FAQ entry about that.)
40224022

@@ -4076,7 +4076,7 @@ Supplement Regenerated the 4.04 distribution to correct a non-
40764076
PA-RISC HP-UX 11.23, based on a report from John
40774077
Orndorff <John.Orndorff@sungard.com>. Found that
40784078
neither the HP bundled C compiler nor gcc would build
4079-
lsof, but the the HP unbundled ANSI C compiler would.
4079+
lsof, but the HP unbundled ANSI C compiler would.
40804080
Concluded that HP bundled C compiler can't handle
40814081
<gssapi/gssapi.h>. Devised a work-around to gcc's
40824082
omission of the rpcent structure definition of
@@ -4600,7 +4600,7 @@ Supplement Regenerated the 4.04 distribution to correct a non-
46004600
Made FreeBSD 9 adjustment.
46014601

46024602
Fixed a Linux bug that prevented the display of paths for
4603-
abstact UNIX sockets. Masatake Yamato <yamato@redhat.com>
4603+
abstract UNIX sockets. Masatake Yamato <yamato@redhat.com>
46044604
reported the bug and supplied a patch.
46054605

46064606
Added compensation for the removal of RPC header files from
@@ -4752,7 +4752,7 @@ Supplement Regenerated the 4.04 distribution to correct a non-
47524752
file names. Stephane Chazelas <stephane.chazelas@gmail.com>
47534753
reported the problem.
47544754

4755-
Added support for Linux RDMA and CRYPTO protocal names and UNIX
4755+
Added support for Linux RDMA and CRYPTO protocol names and UNIX
47564756
socket type with code from Masatake YAMATO <yamato@redhat.com>.
47574757

47584758
Fixed field output to insure that the field descriptor field is
@@ -5522,7 +5522,7 @@ Supplement Regenerated the 4.04 distribution to correct a non-
55225522

55235523
4.99.0 November 10, 2023
55245524

5525-
[netbsd] Get device numer of tmpfs instead of reporting zero
5525+
[netbsd] Get device number of tmpfs instead of reporting zero
55265526

55275527

55285528
[openbsd] Rewrite OpenBSD support because OpenBSD disallows

00FAQ

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ Table of Contents:
485485
17.26.1 Why doesn't lsof report size, link count and node number for
486486
Solaris 10 contract files?
487487
17.26.2 Why can't lsof locate a Solaris 10 contract file by path name?
488-
17.27 Solaris 10 and above ZFS probblems
488+
17.27 Solaris 10 and above ZFS problems
489489
17.27.1 Why does Configure warn that ZFS support is not enabled?
490490
17.28 Problems with Solaris 9 and above
491491
17.28.1 Why does the compiler complain about lgrp_root on Solaris 9
@@ -495,7 +495,7 @@ Table of Contents:
495495
18.1 Why doesn't lsof doesn't report on /proc entries on my
496496
system?
497497
18.2 How do I disable the device cache file feature or alter
498-
it's behavior?
498+
its behavior?
499499
18.2.1 What's the risk with a perverted device cache file?
500500
18.2.2 How do I put the full host name in a personal device cache file
501501
path?
@@ -973,7 +973,7 @@ ______________________________________________________________________
973973
The vendor additions are significant to lsof because they
974974
affect the internal kernel structures with which lsof does
975975
business. While some vendor derivatives of SVR4 are similar,
976-
each one I have encounted so far has been different enough
976+
each one I have encountered so far has been different enough
977977
from its siblings to require special source code.
978978

979979
If you're interested in an SVR4 version of lsof, here are
@@ -1140,7 +1140,7 @@ ______________________________________________________________________
11401140
Errors like the above are most likely not problems in the
11411141
system's header files, but in the private copies of them
11421142
that were created when gcc was made or installed. Note
1143-
the presense of
1143+
the presence of
11441144
".../gcc-3.2.1/lib/gcc-lib/sparcv9-sun-solaris2/3.2.1/include/..."
11451145
in the paths for user.h and task.h. It indicates both
11461146
header files are gcc-specific.
@@ -1404,7 +1404,7 @@ ______________________________________________________________________
14041404
exclusion and inclusion used?" question.
14051405

14061406
Your UNIX dialect may not support "-s p:s" and its associated
1407-
performance improvments to Internet-only file processing. You
1407+
performance improvements to Internet-only file processing. You
14081408
can find more information on those topics in the answer to the
14091409
"Why doesn't my dialect support state name exclusion and
14101410
inclusion?" question.
@@ -1460,7 +1460,7 @@ ______________________________________________________________________
14601460
ownerships are changed to that of the real user and group.
14611461
In addition, lsof checks the file carefully before using
14621462
it (See the question "How do I disable the device cache
1463-
file feature or alter it's behavior?" for a description of
1463+
file feature or alter its behavior?" for a description of
14641464
the checks.); discards the file if it fails the scrutiny;
14651465
complains about the condition of the file; then rebuilds
14661466
the file.
@@ -2055,7 +2055,7 @@ ______________________________________________________________________
20552055

20562056
If the mounted-on device is a block device (the permission
20572057
field in output of `ls -l <device>` starts with a `b/),
2058-
you can specify it's name, too -- e.g.,
2058+
you can specify its name, too -- e.g.,
20592059

20602060
$ lsof /dev/sd0a
20612061

@@ -2783,7 +2783,7 @@ ______________________________________________________________________
27832783
$ lsof -s/.\// ...
27842784
lsof: invalid regexp modifier: /
27852785

2786-
Lsof is complaining the the first character it found after
2786+
Lsof is complaining the first character it found after
27872787
the second slash isn't an lsof command RE modifier -- 'b',
27882788
'i', or 'x'.
27892789

@@ -4067,7 +4067,7 @@ ______________________________________________________________________
40674067

40684068
At an upcoming release lsof will use a library called libproc
40694069
to obtain information about open files. That version of lsof
4070-
wil be called libproc-based lsof.
4070+
will be called libproc-based lsof.
40714071

40724072
The /dev/kmem-based lsof sources may be found in the kmem
40734073
subdirectory of the dialects/darwin branch of the lsof source
@@ -5511,7 +5511,7 @@ ______________________________________________________________________
55115511
subdirectory of a process' /proc/<PID> directory, it reports a
55125512
single file of the type ``NOFD'' (for no file descriptors).
55135513

5514-
Lsof reports the the /proc/<PID>/path in the NAME column,
5514+
Lsof reports the /proc/<PID>/path in the NAME column,
55155515
followed by "(opendir: xxx)", where ``xxx'' is the error
55165516
message returned by opendir().
55175517

@@ -7523,7 +7523,7 @@ ______________________________________________________________________
75237523
applying stat(2) to the contract file path name with what it
75247524
finds in kernel data.
75257525

7526-
17.27 Solaris 10 and above ZFS probblems
7526+
17.27 Solaris 10 and above ZFS problems
75277527

75287528
17.27.1 Why does Configure warn that ZFS support is not enabled?
75297529

@@ -7578,7 +7578,7 @@ ______________________________________________________________________
75787578
-- usually called prdata.h.
75797579

75807580
18.2 How do I disable the device cache file feature or alter
7581-
it's behavior?
7581+
its behavior?
75827582

75837583
To disable the device cache file feature for a dialect,
75847584
remove the HASDCACHE definition from the machine.h file of

00PORTING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ possibilities
11951195

11961196
HASTCPUDPSTATE is defined when the dialect has support for
11971197
TCP and UDP state, including the "-s p:s"
1198-
option and associated speed ehancements.
1198+
option and associated speed enhancements.
11991199

12001200
HASTFS indicates that the Pyramid dialect has TFS
12011201
file system support.
@@ -1390,7 +1390,7 @@ possibilities
13901390

13911391
NOWARNBLKDEV specifies that no warning is to be issued
13921392
when no block devices are found. This
1393-
definiton is used only when HASBLKDEV is
1393+
definition is used only when HASBLKDEV is
13941394
also defined.
13951395

13961396
OFFDECDIG specifies how many decimal digits will be

00README

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ compile-time definitions for the dialect's machine.h header file:
562562
HASKERNIDCK the build-time to run-time kernel
563563
identity check
564564
HASSECURITY the security option
565-
HASNOSOCKSECURITY the open socket listing option whe
565+
HASNOSOCKSECURITY the open socket listing option when
566566
HASSECURITY is defined
567567
WARNDEVACCESS /dev (or /devices) warning message
568568
control
@@ -825,8 +825,8 @@ of tests/, with:
825825
$ make opt
826826
or $ make optional
827827

828-
It's possible to excute individual tests, too. See the 00TEST file
829-
of this distribution for more informaiton on the tests, what they
828+
It's possible to execute individual tests, too. See the 00TEST file
829+
of this distribution for more information on the tests, what they
830830
do, and how to run and possibly customize each test.
831831

832832
It's possible to run the tests, using an lsof other than the one
@@ -1336,7 +1336,7 @@ to read memory devices such as /dev/kmem, /dev/mem, or /dev/swap,
13361336
or it may be authorization to read entries in the /proc file system.
13371337

13381338
Memory device access can usually be provided by setting the modes
1339-
of the lsof executable so that it's effective group identifier when
1339+
of the lsof executable so that its effective group identifier when
13401340
it runs is the same as the group that has permission to read the
13411341
memory devices -- i.e., it is setgid-group. The privileged group
13421342
is usually kmem, sys, or system.

00TEST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ These files may be created by suite tests.
816816

817817
config.LTnlink* LTnlink for link count tests
818818

819-
config.LTszoff* LTszoff for small file size and and
819+
config.LTszoff* LTszoff for small file size and
820820
offset reporting
821821

822822
config.LT[01]U* LTunix two UNIX domain sockets, used

00XCONFIG

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Marty says:
3333

3434
LINUX_KERNEL=/some/other/kernel LSOF_VERS=2142 ./Configure linux
3535

36-
Comments? Its very convenient when running multiple kernels.
36+
Comments? It's very convenient when running multiple kernels.
3737
(It would be (have been) very handy when the structures changed
3838
between 2.0.2* and 2.0.30 , or whatever.)
3939

@@ -151,7 +151,7 @@ LSOF_HOST may be used to specify a value in lsof's -v output
151151
hostname or uname -n
152152

153153
LSOF_INCLUDE is the path to a tree of header files that is an exact
154-
image of the the standard header file tree for the
154+
image of the standard header file tree for the
155155
target dialect. You may need to specify it if you
156156
want Configure to test header files in a tree different
157157
from /usr/include and compile its test programs with
@@ -181,7 +181,7 @@ LSOF_LOGNAME may be used to specify a value in lsof's -v output
181181

182182
LSOF_MAKE is the path to the make command.
183183

184-
deafult: the output of `which make`, if it is not NULL;
184+
default: the output of `which make`, if it is not NULL;
185185
otherwise the string "make".
186186

187187
LSOF_MKC may be used to specify an alternate method of
@@ -527,7 +527,7 @@ LINUX_CONF_CC specifies the location of the C compiler to use during
527527
LINUX_HASSELINUX If this environment variable has a value of "Y" or "y",
528528
Configure unconditionally activates SELinux support.
529529
If it has any other value, Configure unconditionally
530-
inhibits SELinux suport.
530+
inhibits SELinux support.
531531

532532
Default: assumed to be "Y" if <selinux/selinux.h>
533533
exists

Configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Usage: Configure <options> <target-dialect>
243243
linux : Linux
244244
netbsd : NetBSD
245245
openbsd : OpenBSD
246-
osr|sco : SCO OpenServer < 6.0.0, SCO devloper's compiler
246+
osr|sco : SCO OpenServer < 6.0.0, SCO developer's compiler
247247
osrgcc|scogcc : SCO OpenServer < 6.0.0, gcc compiler
248248
osr6 : SCO OpenServer 6.0.0, SCO compiler
249249
solaris|solariscc : Solaris gcc (solaris) or cc (solariscc)

Customize

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ users. Press ENTER to use the current value of HASENVDC:
641641
HASPERSDC is a format that specifies how the personal device cache
642642
path is constructed. Consult the 00DCACHE and 00FAQ files of the
643643
lsof distribution for information on the conversions supported in
644-
HASPERSDC. Press ENTER to use the curent HASPERSDC format:
644+
HASPERSDC. Press ENTER to use the current HASPERSDC format:
645645
646646
.CAT_MARK
647647

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ CREATE_SUBDIRS = NO
8585
# level increment doubles the number of directories, resulting in 4096
8686
# directories at level 8 which is the default and also the maximum value. The
8787
# sub-directories are organized in 2 levels, the first level always has a fixed
88-
# numer of 16 directories.
88+
# number of 16 directories.
8989
# Minimum value: 0, maximum value: 8, default value: 8.
9090
# This tag requires that the tag CREATE_SUBDIRS is set to YES.
9191

docs/faq.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ may complain that it finds errors in system header files
664664
Errors like the above are most likely not problems in the
665665
system's header files, but in the private copies of them
666666
that were created when gcc was made or installed. Note
667-
the presense of
667+
the presence of
668668
".../gcc-3.2.1/lib/gcc-lib/sparcv9-sun-solaris2/3.2.1/include/..."
669669
in the paths for user.h and task.h. It indicates both
670670
header files are gcc-specific.
@@ -928,7 +928,7 @@ may be found in the answer to the "How are protocol state name
928928
exclusion and inclusion used?" question.
929929

930930
Your UNIX dialect may not support "-s p:s" and its associated
931-
performance improvments to Internet-only file processing. You
931+
performance improvements to Internet-only file processing. You
932932
can find more information on those topics in the answer to the
933933
"Why doesn't my dialect support state name exclusion and
934934
inclusion?" question.
@@ -984,7 +984,7 @@ when lsof runs setuid-root, it makes sure the file's
984984
ownerships are changed to that of the real user and group.
985985
In addition, lsof checks the file carefully before using
986986
it (See the question "How do I disable the device cache
987-
file feature or alter it's behavior?" for a description of
987+
file feature or alter its behavior?" for a description of
988988
the checks.); discards the file if it fails the scrutiny;
989989
complains about the condition of the file; then rebuilds
990990
the file.
@@ -1577,7 +1577,7 @@ for the file system.
15771577

15781578
If the mounted-on device is a block device (the permission
15791579
field in output of `ls -l <device>` starts with a `b/),
1580-
you can specify it's name, too -- e.g.,
1580+
you can specify its name, too -- e.g.,
15811581

15821582
$ lsof /dev/sd0a
15831583

@@ -2299,7 +2299,7 @@ command RE, you'll get this response:
22992299
$ lsof -s/.\// ...
23002300
lsof: invalid regexp modifier: /
23012301

2302-
Lsof is complaining the the first character it found after
2302+
Lsof is complaining the first character it found after
23032303
the second slash isn't an lsof command RE modifier -- 'b',
23042304
'i', or 'x'.
23052305

0 commit comments

Comments
 (0)