busybox/archival
Aaron Lehmann 9f92d5f2a2 Major revamp. I've been trying to clean up the code. the bzerror stuff
still needs major attention (i.e. removal).

Removed references to uninitialized variables like progName,
smallMode, noisy, etc. Remove functions and code for handling "small"
decompression mode, since it is all unreachable. Remove
total_{in,out}* counters - they are never used. Remove panic()
function and assert_h and their uses because they are all for "should
never happen" circumstances. Replace internal malloc/free wrappers
with xmalloc and free. Remove conditional in if(foo)free(foo);
situations. Remove bogus
	if (sizeof(int) != 4) {
		return BZ_CONFIG_ERROR;
	}
(...etc...) code and code for handling BZ_CONFIG_ERROR. Someone should
go through and change the applet to use well-defined types when
appropriate - it expects sizeof(short)==2 && sizeof(int)==4. Until
this commit these were explicitly checked for, and the applet would
exit if these types were not the right size. (I think this is wrong
even as an interim solution.)

With gcc 3.1 reduces size of binary on i386-linux by about 700 bytes.

Lightly tested.
2002-06-22 06:35:29 +00:00
..
libunarchive Patch from Randolfe Averty to fixup package conflict checks, cleanup some memory leaks and reorganise dependency checking. 2002-05-29 13:45:34 +00:00
ar.c Recovering from my previous commit 2001-10-25 14:49:48 +00:00
bunzip2.c Major revamp. I've been trying to clean up the code. the bzerror stuff 2002-06-22 06:35:29 +00:00
config.in Patch from Laurence Anderson <L.D.Anderson@warwick.ac.uk> for 2002-04-13 08:43:01 +00:00
cpio.c Recovering from my previous commit 2001-10-25 14:49:48 +00:00
dpkg_deb.c Recovering from my previous commit 2001-10-25 14:49:48 +00:00
dpkg.c Patch from Randolfe Averty to fixup package conflict checks, cleanup some memory leaks and reorganise dependency checking. 2002-05-29 13:45:34 +00:00
gunzip.c gunzip'ing many files to stdout works now 2002-05-15 21:57:42 +00:00
gzip.c * archival/gzip.c (gzip_main): Ensure that the output is a terminal and use 2002-03-22 22:55:51 +00:00
Makefile Completely rework the config system so that it no longer annoys me to work on 2002-04-12 12:05:57 +00:00
Makefile.in Completely rework the config system so that it no longer annoys me to work on 2002-04-12 12:05:57 +00:00
rpm2cpio.c Use fopen wrapper. 2001-11-12 16:44:55 +00:00
tar.c Update some missing copyright notices 2002-04-13 08:31:59 +00:00
unzip.c unzip applet by Laurence Anderson 2002-01-02 13:52:26 +00:00