summaryrefslogtreecommitdiffstats
path: root/usr.bin/compress
Commit message (Collapse)AuthorAgeFilesLines
* -mdoc sweep.ru2005-11-181-11/+10
|
* Several changes: Added a BUGS section with several bugs. Andgarys2005-09-071-26/+94
| | | | | | | | | | | | -- Made the synopses more precise. -- Added argument to flag in option description. -- Moved -b default and limits to option description (to un-hide). -- Noted several behaviors that were not mentioned. -- A few more trivial changes. PR: docs/46787 Approved by: keramida MFC after: 3 days
* Unbreak r1.11 by delhij. Blind change from unsigned to signed charkan2005-05-181-2/+2
| | | | | pointer causes problems with sign extension and leads to compress(1) dumping core on any non-trivial incoming data.
* Consistently use signed char so gcc4 won't complaindelphij2005-05-021-1/+1
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Bump WARNS level to 6.trhodes2004-09-101-0/+1
| | | | | Submitted by: keramida Tested on: i386, sparc64 (panther)
* Fix the NAME section making whatis(1) happy in particular.ru2004-07-051-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Don't truncate the output file before making sure that we cantrhodes2003-06-141-6/+17
| | | | | | | | | | | | | | | | | | | | | read at least 1 byte from the input file without problems. This fixes a bug in uncompress(1) that causes the accidental removal of files that happen to have the same name as the output file, even when the uncompression fails and is aborted, i.e.: $ echo hello world > hello $ touch hello.Z $ ls -l hello* -rw-rw-r-- 1 giorgos giorgos 12 Jun 14 13:33 hello -rw-rw-r-- 1 giorgos giorgos 0 Jun 14 13:33 hello.Z $ ./uncompress -f hello uncompress: hello.Z: Inappropriate file type or format $ ls -l hello* -rw-rw-r-- 1 giorgos giorgos 0 Jun 14 13:33 hello.Z $ PR: 46787 Submitted by: keramida
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* Spelling.charnier2002-10-162-28/+32
|
* ANSIify function definitions to avoid a warning.dwmalone2002-07-282-39/+14
|
* mdoc(7) police: lint.ru2002-05-291-1/+1
|
* Add a Standards section, and note that compress(1) and uncompress(1) nowtjr2002-05-171-1/+8
| | | | conform to P1003.1-2001.
* As required by SUSv3, a file argument of "-" causes standard inputtjr2002-05-172-3/+13
| | | | to be compressed/decompressed to standard output.
* Compression ratio statistics should be written to stderr instead of stdout.tjr2002-05-171-4/+5
|
* Use exit status 2 to indicate that the file was not compressed becausetjr2002-05-172-0/+8
| | | | its size would not be reduced (SUSv3).
* Use `The .Nm utility'charnier2002-04-191-6/+9
|
* compress(1) has an erroneous description of zcat, fixed.trhodes2002-04-091-8/+7
| | | | | PR: 36453 No objections from: ru
* unifdef -D__STDC__imp2002-03-231-28/+3
|
* remove __Pimp2002-03-223-15/+15
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-102-9/+9
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* Use __FBSDID().markm2001-12-022-12/+14
| | | | | Use a better choice than size_t for vertain variables. Fix some comment alignment.
* WARNS=2 fix and 'register' removal.markm2001-12-023-28/+31
|
* mdoc(7) police: make double quotes in #include statement visible.ru2001-10-011-1/+1
|
* mdoc(7) police: Fixed the .Ex calls in manpages that describe moreru2001-09-111-1/+1
| | | | | | | than one utility. PR: docs/30437 Submitted by: SUZUKI Koichi <koich@cac.co.jp>
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-131-3/+5
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Mark some functions as __printflike()kris2001-07-051-2/+2
| | | | MFC after: 1 week
* MAN[1-9] -> MAN.ru2001-03-271-1/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-2/+2
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+0
|
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-101-0/+1
| | | | <time.h>).
* From PR submitter:hoek2000-05-161-2/+2
| | | | | | | | | | | | compress uses setfile() to make flags, ownership and mode of the output the same as those of the original. However, if the filesystem holding the output file doesn't support these operations, compress prints a warning. This bites a bit with NFS directories, which always fail the chflags() operation. If the file system doesn't support the operation, then the flags data wasn't valid on the original file anyway, so the warning is spurious. Submitted by: bin/16981 (Peter Edwards <peter.edwards@ireland.com>)
* Add DIAGNOSTICS section name. Spellingcharnier2000-03-263-10/+13
|
* Tidy up $Log$ debrispeter1999-09-061-3/+0
|
* $Header$ -> $FreeBSD$peter1999-08-281-3/+6
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-122-0/+2
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-063-4/+6
|
* Fixed previous commit to actually work. The wrong variable was initializedbde1998-10-211-3/+4
| | | | | earlier (with style bugs of course), so zcat was an alias for uncompress instead of `uncompress -c'.
* Behave like zcat if invoked as zcat. We don't install as zcat; this justmsmith1998-10-201-2/+5
| | | | | | makes us more useful in a tight environment. Submitted by: Wilfredo Sanchez <wsanchez@apple.com>
* Uncompress is under .Nm not .Ar.charnier1997-06-301-1/+1
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Finished adjustments for cleaning up declaration of zopen(). Moving thebde1996-09-051-0/+2
| | | | declaration from <stdio.h> to "zopen.h" left it undeclared here.
OpenPOWER on IntegriCloud