mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Add DIAGNOSTICS section name. Spelling
This commit is contained in:
parent
b5770cfb34
commit
fae643c579
3 changed files with 13 additions and 10 deletions
|
|
@ -91,7 +91,7 @@ reduction in size and file overwriting are not performed, the input file is
|
|||
not removed, and the attributes of the input file are not retained.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Bl -tag -width Ds
|
||||
.Bl -tag -width indent
|
||||
.It Fl b
|
||||
Specify the
|
||||
.Ar bits
|
||||
|
|
@ -122,13 +122,13 @@ must be between 9 and 16.
|
|||
After the
|
||||
.Ar bits
|
||||
limit is reached,
|
||||
.Nm compress
|
||||
.Nm
|
||||
periodically checks the compression ratio.
|
||||
If it is increasing,
|
||||
.Nm compress
|
||||
.Nm
|
||||
continues to use the existing code dictionary.
|
||||
However, if the compression ratio decreases,
|
||||
.Nm compress
|
||||
.Nm
|
||||
discards the table of substrings and rebuilds it from scratch. This allows
|
||||
the algorithm to adapt to the next "block" of the file.
|
||||
.Pp
|
||||
|
|
@ -153,9 +153,9 @@ Compression is generally much better than that achieved by Huffman
|
|||
coding (as used in the historical command pack), or adaptive Huffman
|
||||
coding (as used in the historical command compact), and takes less
|
||||
time to compute.
|
||||
.Pp
|
||||
.Sh DIAGNOSTICS
|
||||
The
|
||||
.Nm compress
|
||||
.Nm
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh SEE ALSO
|
||||
.Rs
|
||||
|
|
|
|||
|
|
@ -38,11 +38,14 @@ static const char copyright[] =
|
|||
#endif /* not lint */
|
||||
|
||||
#ifndef lint
|
||||
static const char sccsid[] = "@(#)compress.c 8.2 (Berkeley) 1/7/94";
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)compress.c 8.2 (Berkeley) 1/7/94";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <err.h>
|
||||
|
|
@ -373,7 +376,7 @@ setfile(name, fs)
|
|||
fs->st_mode &= ~(S_ISUID|S_ISGID);
|
||||
}
|
||||
if (chmod(name, fs->st_mode))
|
||||
cwarn("chown: %s", name);
|
||||
cwarn("chmod: %s", name);
|
||||
|
||||
if (chflags(name, fs->st_flags))
|
||||
cwarn("chflags: %s", name);
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ The
|
|||
argument, if non-zero, is set to the bits code limit.
|
||||
If zero, the default is 16.
|
||||
See
|
||||
.Fn compress 1
|
||||
.Xr compress 1
|
||||
for more information.
|
||||
.Sh RETURN VALUES
|
||||
Upon successful completion
|
||||
|
|
|
|||
Loading…
Reference in a new issue