Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't truncate the output file before making sure that we can | trhodes | 2003-06-14 | 1 | -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/ | schweikh | 2002-12-30 | 1 | -1/+1 |
| | | | | Add FreeBSD Id tag where missing. | ||||
* | Spelling. | charnier | 2002-10-16 | 2 | -28/+32 |
| | |||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 2 | -39/+14 |
| | |||||
* | mdoc(7) police: lint. | ru | 2002-05-29 | 1 | -1/+1 |
| | |||||
* | Add a Standards section, and note that compress(1) and uncompress(1) now | tjr | 2002-05-17 | 1 | -1/+8 |
| | | | | conform to P1003.1-2001. | ||||
* | As required by SUSv3, a file argument of "-" causes standard input | tjr | 2002-05-17 | 2 | -3/+13 |
| | | | | to be compressed/decompressed to standard output. | ||||
* | Compression ratio statistics should be written to stderr instead of stdout. | tjr | 2002-05-17 | 1 | -4/+5 |
| | |||||
* | Use exit status 2 to indicate that the file was not compressed because | tjr | 2002-05-17 | 2 | -0/+8 |
| | | | | its size would not be reduced (SUSv3). | ||||
* | Use `The .Nm utility' | charnier | 2002-04-19 | 1 | -6/+9 |
| | |||||
* | compress(1) has an erroneous description of zcat, fixed. | trhodes | 2002-04-09 | 1 | -8/+7 |
| | | | | | PR: 36453 No objections from: ru | ||||
* | unifdef -D__STDC__ | imp | 2002-03-23 | 1 | -28/+3 |
| | |||||
* | remove __P | imp | 2002-03-22 | 3 | -15/+15 |
| | |||||
* | Remove leaf node WARNS?=2 (that mainly I added). This should | markm | 2002-02-08 | 1 | -1/+0 |
| | | | | help the GCC3 transition and CURRENT in general. | ||||
* | Style improvements recommended by Bruce as a follow up to some | dwmalone | 2001-12-10 | 2 | -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(). | markm | 2001-12-02 | 2 | -12/+14 |
| | | | | | Use a better choice than size_t for vertain variables. Fix some comment alignment. | ||||
* | WARNS=2 fix and 'register' removal. | markm | 2001-12-02 | 3 | -28/+31 |
| | |||||
* | mdoc(7) police: make double quotes in #include statement visible. | ru | 2001-10-01 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: Fixed the .Ex calls in manpages that describe more | ru | 2001-09-11 | 1 | -1/+1 |
| | | | | | | | than one utility. PR: docs/30437 Submitted by: SUZUKI Koichi <koich@cac.co.jp> | ||||
* | mdoc(7) police: utilize the new .Ex macro. | ru | 2001-08-15 | 1 | -3/+1 |
| | |||||
* | Removed duplicate VCS ID tags, as per style(9). | ru | 2001-08-13 | 1 | -3/+5 |
| | |||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | Mark some functions as __printflike() | kris | 2001-07-05 | 1 | -2/+2 |
| | | | | MFC after: 1 week | ||||
* | MAN[1-9] -> MAN. | ru | 2001-03-27 | 1 | -1/+2 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 2 | -2/+2 |
| | |||||
* | Avoid use of direct troff requests in mdoc(7) manual pages. | ru | 2000-11-10 | 1 | -1/+0 |
| | |||||
* | Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby | wollman | 2000-10-10 | 1 | -0/+1 |
| | | | | <time.h>). | ||||
* | From PR submitter: | hoek | 2000-05-16 | 1 | -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. Spelling | charnier | 2000-03-26 | 3 | -10/+13 |
| | |||||
* | Tidy up $Log$ debris | peter | 1999-09-06 | 1 | -3/+0 |
| | |||||
* | $Header$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -3/+6 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 3 | -3/+3 |
| | |||||
* | Add $Id$, to make it simpler for members of the translation teams to | nik | 1999-07-12 | 2 | -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[]). | archie | 1998-12-06 | 3 | -4/+6 |
| | |||||
* | Fixed previous commit to actually work. The wrong variable was initialized | bde | 1998-10-21 | 1 | -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 just | msmith | 1998-10-20 | 1 | -2/+5 |
| | | | | | | makes us more useful in a tight environment. Submitted by: Wilfredo Sanchez <wsanchez@apple.com> | ||||
* | Uncompress is under .Nm not .Ar. | charnier | 1997-06-30 | 1 | -1/+1 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 1 | -1/+1 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 1 | -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 the | bde | 1996-09-05 | 1 | -0/+2 |
| | | | | declaration from <stdio.h> to "zopen.h" left it undeclared here. | ||||
* | Use the .Bx macro where appropriate. | mpp | 1996-08-23 | 1 | -1/+2 |
| | |||||
* | a header file for zopen.3 | wosch | 1996-08-20 | 3 | -1/+36 |
| | | | | Pointed out by: Philippe Charnier <charnier@lirmm.fr> | ||||
* | remove zopen, zopen is not part of libc. | wosch | 1996-07-02 | 1 | -0/+3 |
| | |||||
* | This commit was generated by cvs2svn to compensate for changes in r13122, | peter | 1995-12-30 | 1 | -37/+0 |
| | | | | which included commits to RCS files with non-trunk default branches. | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -1/+1 |
| | |||||
* | Correct the usage of the maxmaxcode so that compress -b 12 works again. | ats | 1995-01-02 | 1 | -2/+2 |
| | | | | Thanks to Dave Rivers for reporting that problem. | ||||
* | Add David River's patch fix to use the passed in number of bits (-b <n>) | jkh | 1994-12-31 | 1 | -1/+1 |
| | | | | | properly. Submitted by: rivers | ||||
* | Don't use Berkeley zcat, use more powerful gzip zcat. | wollman | 1994-08-05 | 1 | -5/+1 |
| |