summaryrefslogtreecommitdiffstats
path: root/usr.bin/compress/compress.c
Commit message (Collapse)AuthorAgeFilesLines
* Mark some functions as __printflike()kris2001-07-051-2/+2
| | | | MFC after: 1 week
* 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-261-3/+6
|
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-061-2/+2
|
* 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>
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* 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.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+444
OpenPOWER on IntegriCloud