History log of /src/usr.bin/compress/compress.c |
Revision | | Date | Author | Comments |
1.29 |
| 22-May-2022 |
rillig | uncompress: if the source is broken, don't delete the target
Fixes the second half of PR bin/19722, reported by Giorgos Keramidas.
|
1.28 |
| 22-May-2022 |
rillig | uncompress: if the source doesn't exist, don't touch the target
Fixes part of PR bin/19722, reported by Giorgos Keramidas.
|
1.27 |
| 22-May-2022 |
rillig | compress: normalize indentation and spacing
No binary change.
|
1.26 |
| 30-Aug-2011 |
joerg | Use __printflike and __dead
|
1.25 |
| 11-Apr-2009 |
lukem | Fix -Wcast-qual and -Wsign-compare issues
|
1.24 |
| 21-Jul-2008 |
lukem | branches: 1.24.6; Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.23 |
| 09-Apr-2006 |
christos | branches: 1.23.22; Coverity CID 2536: Clarify the error path further.
|
1.22 |
| 05-Apr-2006 |
dsl | Rework the way that files are closed and unlinked on error. In particular avoid calling fclose() again once it has failed. Also multply 'oreg' by 2 once we modify the file - so we know when to unlink it on error. Fixes Coverty CIDs 2535 and 2536
|
1.21 |
| 09-Jul-2004 |
wiz | Sync usage with man page. From Kouichirou Hiratsuka in PR 26197.
|
1.20 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.19 |
| 26-May-2002 |
wiz | __STDC__ is always defined on NetBSD. ANSIfy while I'm here.
|
1.18 |
| 11-Oct-2000 |
is | More format string cleanup by sommerfeld.
|
1.17 |
| 08-Oct-1998 |
wsanchez | branches: 1.17.2; 1.17.10; Init style to quiet compiler. Allow zcat hard link to compress rather than using zcat.sh wrapper; same as uncompress. Don't install zcat, however; gzcat seems to be living in /usr/bin/zcat at the moment.
|
1.16 |
| 10-Mar-1998 |
kleink | Attempt to restore a file's flags using chflags() only if the original file ad any flags set (that is, st_flags is non-zero); this avoids a warning when (un-)compressing a file on a file-system that does not support flags. Fixes PR bin/4981.
|
1.15 |
| 19-Oct-1997 |
mycroft | Use double, not float.
|
1.14 |
| 18-Oct-1997 |
lukem | getopt returns -1 not EOF
|
1.13 |
| 15-Sep-1997 |
lukem | * cleanup for WARNS=1 * deprecate register * rindex -> strrchr * fix .Nm usage
|
1.12 |
| 16-Jan-1997 |
mikel | stdin and stdout are not regular files; fixes PR bin/3112 skip size checks, unlinking, &c. as specified by manpage if output is not a regular file replace manifest constant with BUFSIZ
|
1.11 |
| 20-Aug-1996 |
abrown | Add missing braces to for-loop to make compress work again after changes between versions 1.9 and 1.10 (dumped core when not used as a filter).
|
1.10 |
| 30-Jun-1996 |
mrg | fix lossage caused by compress' usage of /dev/stdout and /dev/stdin combined with the (broken?) versions of these files provided with the fdesc mount. fixes PR#774 & PR#957.
|
1.9 |
| 26-Mar-1995 |
glass | branches: 1.9.6; new rcsid format. what is the format for shell scripts
|
1.8 |
| 24-Dec-1994 |
cgd | add zopen declaration.
|
1.7 |
| 06-Oct-1994 |
mycroft | branches: 1.7.2; Fix RCS id format.
|
1.6 |
| 13-Jun-1994 |
cgd | clean up import, add rcsid's.
|
1.5 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.4 |
| 24-Jun-1993 |
mycroft | Whose inane idea was it to copy this list? BTW, we need a `-r' option.
|
1.3 |
| 23-Jun-1993 |
mycroft | Fix fencepost error.
|
1.2 |
| 25-May-1993 |
deraadt | patch00144 by Julian Stacey <stacey@guug.de>: compress.c had a path[100] instead of path[MAXPATHLEN]
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 13-Jun-1994 |
cgd | new compress from Lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.7.2.2 |
| 06-Oct-1994 |
mycroft | Fix RCS id format.
|
1.7.2.1 |
| 06-Oct-1994 |
mycroft | file compress.c was added on branch netbsd-1-0 on 1994-10-06 16:43:18 +0000
|
1.9.6.2 |
| 26-Jan-1997 |
rat | Pullup 1.9 -> 1.10. Fix lossage caused by compress' usage of /dev/stdout and /dev/stdin combined with the (broken?) versions of these files provided with the fdesc mount. fixes PR#774 & PR#957.
[ Oops. Applied patchlevel backwards. ]
|
1.9.6.1 |
| 26-Jan-1997 |
rat | Pullup 1.10 -> 1.11. Add missing braces to for-loop to make compress work again after changes between versions 1.9 and 1.10 (dumped core when not used as a filter).
|
1.17.10.1 |
| 18-Oct-2000 |
tv | Pullup usr.bin string format fixes [is]. See "cvs log" for explicit revision numbers per file, from sommerfeld.
|
1.17.2.1 |
| 19-Oct-2000 |
he | Pull up revision 1.18 (requested by he): Format string cleanup.
|
1.23.22.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.24.6.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|