History log of /freebsd/usr.bin/compress/compress.c (Results 26 – 50 of 67)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2
# 47e9e6a1 28-Jul-2002 David Malone <dwmalone@FreeBSD.org>

ANSIify function definitions to avoid a warning.


Revision tags: release/4.6.1, release/4.6.0_cvs
# b4771590 17-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

As required by SUSv3, a file argument of "-" causes standard input
to be compressed/decompressed to standard output.


# 783b4710 17-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Compression ratio statistics should be written to stderr instead of stdout.


# 6c1b63bb 17-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Use exit status 2 to indicate that the file was not compressed because
its size would not be reduced (SUSv3).


# 7ddea7b8 24-Mar-2002 Warner Losh <imp@FreeBSD.org>

unifdef -D__STDC__


# f1bb2cd2 22-Mar-2002 Warner Losh <imp@FreeBSD.org>

remove __P


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 9f5b04e9 10-Dec-2001 David Malone <dwmalone@FreeBSD.org>

Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:

1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though c

Style improvements recommended by Bruce as a follow up to some
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.

show more ...


# 546c7f66 03-Dec-2001 Mark Murray <markm@FreeBSD.org>

Use __FBSDID().
Use a better choice than size_t for vertain variables.
Fix some comment alignment.


# cb08795b 02-Dec-2001 Mark Murray <markm@FreeBSD.org>

WARNS=2 fix and 'register' removal.


# 6209021e 05-Jul-2001 Kris Kennaway <kris@FreeBSD.org>

Mark some functions as __printflike()

MFC after: 1 week


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0
# eb2fc780 10-Oct-2000 Garrett Wollman <wollman@FreeBSD.org>

Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).


Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs
# da94aa4e 16-May-2000 Tim Vanderhoek <hoek@FreeBSD.org>

From PR submitter:

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 th

From PR submitter:

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>)

show more ...


# fae643c5 26-Mar-2000 Philippe Charnier <charnier@FreeBSD.org>

Add DIAGNOSTICS section name. Spelling


Revision tags: release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs, release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# fa146c53 06-Dec-1998 Archie Cobbs <archie@FreeBSD.org>

Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).


# d52ae819 21-Oct-1998 Bruce Evans <bde@FreeBSD.org>

Fixed previous commit to actually work. The wrong variable was initialized
earlier (with style bugs of course), so zcat was an alias for uncompress
instead of `uncompress -c'.


# 7c0704e4 20-Oct-1998 Mike Smith <msmith@FreeBSD.org>

Behave like zcat if invoked as zcat. We don't install as zcat; this just
makes us more useful in a tight environment.

Submitted by: Wilfredo Sanchez <wsanchez@apple.com>


Revision tags: release/2.2.7, release/2.2.6, release/2.2.5_cvs, release/2.2.2_cvs
# 1c8af878 29-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs
# 1f36dc1f 05-Sep-1996 Bruce Evans <bde@FreeBSD.org>

Finished adjustments for cleaning up declaration of zopen(). Moving the
declaration from <stdio.h> to "zopen.h" left it undeclared here.


Revision tags: release/2.1.0_cvs, release/2.0.5_cvs
# 7799f52a 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


Revision tags: release/2.0, release/1.1.5.1_cvs
# 9b50d902 27-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources


# 99742a23 28-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Change all our own code to use st_*tim instead of st_*timespec.

Also remove some local patches to diff(1) which are now unneeded.


Revision tags: release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0
# 33ffdd81 14-Jun-2003 Tom Rhodes <trhodes@FreeBSD.org>

Don't truncate the output file before making sure that we can
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

Don't truncate the output file before making sure that we can
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

show more ...


Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2
# 47e9e6a1 28-Jul-2002 David Malone <dwmalone@FreeBSD.org>

ANSIify function definitions to avoid a warning.


Revision tags: release/4.6.1, release/4.6.0_cvs
# b4771590 17-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

As required by SUSv3, a file argument of "-" causes standard input
to be compressed/decompressed to standard output.


# 783b4710 17-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Compression ratio statistics should be written to stderr instead of stdout.


123