summaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2002-06-22Major revamp. I've been trying to clean up the code. the bzerror stuffAaron Lehmann
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-05-29Patch from Randolfe Averty to fixup package conflict checks, cleanup some ↵Glenn L McGrath
memory leaks and reorganise dependency checking. Some further memory leaks fixed by me.
2002-05-19Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl
(configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip) [the cvs add for this file got lost somehow...]
2002-05-15Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl
(configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip)
2002-05-15gunzip'ing many files to stdout works nowRobert Griebl
Fixed a missing initialisation and made a for loop more readable.
2002-05-15Don't delete source file when decompressing to stdoutRobert Griebl
This is the normal GNU gunzip behaviour
2002-04-29* archival/gunzip.c (gunzip_file): New.Matt Kraai
(gunzip_main): Handle no arguments correctly.
2002-04-15* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standardMatt Kraai
output. * testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.
2002-04-13Rework per how I did things in version in 0.60.3 so it canEric Andersen
properly uncompress multiple files now. -Erik
2002-04-13Patch from Laurence Anderson <L.D.Anderson@warwick.ac.uk> forEric Andersen
better tape drive support in tar/cpio by using an intervening pipe...
2002-04-13Update some missing copyright noticesEric Andersen
2002-04-12Completely rework the config system so that it no longer annoys me to work onEric Andersen
the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik
2002-04-06Fix email addrEric Andersen
2002-03-27* archival/bunzip2.c (bunzip2_main): Remove compressed file.Matt Kraai
* testsuite/bunzip2/bunzip2-removes-compressed-file: New.
2002-03-27* archival/bunzip2.c: Include <unistd.h>.Matt Kraai
(bunzip2_main): Read data from standard input if FILE argument is `-' or omitted. * include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite. * testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
2002-03-22* archival/gzip.c (gzip_main): Ensure that the output is a terminal and useMatt Kraai
error_msg to display the error message.
2002-03-20Reinitialize initial shift register value for on each pass.Eric Andersen
-Erik
2002-02-15Parse the include list to writeTarFile rather than argv, fixes a bug where ↵Glenn L McGrath
tar files wernt being created.
2002-02-13Fix condition that prevented creation of compressed filesGlenn L McGrath
2002-02-05* archival/gzip.c (ifname, ofname): Delete.Matt Kraai
(gzip_main): Handle multiple files. * include/usage.h (gzip_trivial_usage): Allow multiple FILEs. (gzip_full_usage): Ditto. * testsuite/gzip/gzip-accepts-multiple-files: New. * testsuite/gzip/gzip-removes-original-file: New.
2002-02-05* archival/gzip.c (gzip_main): Display usage if given multiple files.Matt Kraai
2002-01-08* archival/tar.c (tar_main): Remove unused variable.Matt Kraai
2002-01-02* archival/dpkg.c (create_list): Use chomp.Matt Kraai
* archival/tar.c (append_file_list_to_list): Likewise.
2002-01-02unzip applet by Laurence AndersonGlenn L McGrath
----------------------------------------------------------------------
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-20Perform clean up only if CONFIG_FEATURE_CLEAN_UP is defined.Matt Kraai
2001-12-20Write files when extracting an archive from standard input.Matt Kraai
2001-12-18Things like 'tar -c /tmp/*' and 'tar -cO /tmp/*' where the outputEric Andersen
filename was not explicitly specified were segfaulting. -Erik
2001-12-06More copyright and email addr cleanupsEric Andersen
2001-12-06Commit my improvement on Rodney Brown's patch to g(un)zip, decreasingAaron Lehmann
binary size.
2001-12-05Simplify unzip(), remove unused checks and unneccessary variablesGlenn L McGrath
2001-12-05Simplify CRC table generationGlenn L McGrath
2001-12-05Fix some fegfaults and picket fenceGlenn L McGrath
2001-12-05Fail gracefully if package depends on a virtual package.Glenn L McGrath
2001-11-29gunzip was incorrectly reporting a failed crc and length (discovered byGlenn L McGrath
Chang, Shu-Hao). The bitbuffer needs to be unwound after decompression, as it was eating into the crc/size field.
2001-11-19Fix opt type in dpkg (closes: #118975).Matt Kraai
2001-11-18bzcat and bunzip -c support from Thomas LundquistGlenn L McGrath
2001-11-17Minor warning cleanupsEric Andersen
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-11-12Eliminate unused variable warnings.Matt Kraai
2001-11-12Use fopen wrapper.Matt Kraai
2001-11-10config.in features patch from Giulio Orsero <giulioo@pobox.com>Eric Andersen
with some minor edits from me
2001-11-03Fix create list segfaultGlenn L McGrath
2001-10-27Attempt to fix libc compiling error regarding off_tGlenn L McGrath
2001-10-27Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE blockEric Andersen
2001-10-25Menu entry for tar creation supportGlenn L McGrath
2001-10-25Recovering from my previous commitGlenn L McGrath
2001-10-25Modify applets to use libunarchiveGlenn L McGrath
2001-10-25*** empty log message ***Glenn L McGrath
2001-10-24Add CONFIG_FEATURE_TAR_EXCLUDE support.Matt Kraai