aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authoraaronl <aaronl@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-06-22 06:35:29 +0000
committeraaronl <aaronl@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-06-22 06:35:29 +0000
commitbc2626686597d402a654345a2615b4499a678290 (patch)
tree194adec0296d00ba5b9676b2881e4aa748e5eba9 /debian
parent02b01b565e5fef11fe652ae6e8a8c65ae8bd0f80 (diff)
downloadbusybox-w32-bc2626686597d402a654345a2615b4499a678290.tar.gz
busybox-w32-bc2626686597d402a654345a2615b4499a678290.tar.bz2
busybox-w32-bc2626686597d402a654345a2615b4499a678290.zip
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. git-svn-id: svn://busybox.net/trunk/busybox@4951 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions