summaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix compress support and prevent a segfaultGlenn L McGrath2002-09-279-49/+59
|
* Fix simple define problemGlenn L McGrath2002-09-261-2/+3
|
* Remove files made obsolete by new unarchiving codeGlenn L McGrath2002-09-254-655/+0
|
* New common unarchive code.Glenn L McGrath2002-09-2531-1386/+1969
|
* Modified so that it "works" for archs other than i386... arm in particular.Manuel Novoa III2002-09-171-47/+108
| | | | | | Also tried to clean up the logic a little, and ensure that read errors or invalid archives resulted in error returns. This could use a lot more work... Volunteers?
* Patch from Matthias Lang <matthias@corelatus.se> to fix gunzipEric Andersen2002-09-162-52/+126
| | | | error handling and prevent gunzip from hanging.
* Support for GNU style long filename and linknamesGlenn L McGrath2002-09-152-10/+40
|
* chmod on the NEW fileGlenn L McGrath2002-08-261-1/+1
|
* Reorganise, make it just one function, remove -v option it didnt work ↵Glenn L McGrath2002-08-241-114/+87
| | | | properly anyway, dont setvbuf it doesnt make any difference in performance.
* Run through indent, use bracesGlenn L McGrath2002-08-241-82/+90
|
* replace some global const ints with definesGlenn L McGrath2002-08-222-8/+8
|
* Specify castGlenn L McGrath2002-08-221-2/+2
|
* Remove duplicate variable definitionGlenn L McGrath2002-08-221-1/+0
|
* Run through indent, fix commentsGlenn L McGrath2002-08-222-746/+764
|
* Run through ident, fix commentsGlenn L McGrath2002-08-221-49/+49
|
* Run through indent, use /* */ style comments, change extern to staticGlenn L McGrath2002-08-221-286/+260
|
* Run through indentGlenn L McGrath2002-08-221-241/+238
|
* Honour the USTAR prefix field, this enables a 155 byte path length plus the ↵Glenn L McGrath2002-08-221-2/+6
| | | | | | normal 100 byte filename. The catch is gnu tar cannot create archives that use the prefix field, you need to use s-tar.
* Tar inlining, #if 0 out unused functionAaron Lehmann2002-08-211-5/+7
|
* Enable support for the old tar header format, enable via menu'sGlenn L McGrath2002-08-132-5/+38
|
* Added tar -cz support (creating gzipped tar files without a gzip pipe)Robert Griebl2002-07-232-26/+95
|
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl2002-07-193-7/+3
| | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
* Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen2002-07-115-5/+10
| | | | -Erik
* inline many functions that are only called once. saves about 300 bytesAaron Lehmann2002-06-231-10/+10
| | | | on i386. also staticify most functions.
* remove cleanUpAndFail, and replace it with exit(). because that's whatAaron Lehmann2002-06-231-22/+3
| | | | it does unless srcMode was set, and srcMode is never set.
* Major revamp. I've been trying to clean up the code. the bzerror stuffAaron Lehmann2002-06-221-562/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Patch from Randolfe Averty to fixup package conflict checks, cleanup some ↵Glenn L McGrath2002-05-292-75/+127
| | | | | | memory leaks and reorganise dependency checking. Some further memory leaks fixed by me.
* Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl2002-05-192-0/+626
| | | | | | (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip) [the cvs add for this file got lost somehow...]
* Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl2002-05-152-2/+34
| | | | | (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip)
* gunzip'ing many files to stdout works nowRobert Griebl2002-05-151-6/+9
| | | | Fixed a missing initialisation and made a for loop more readable.
* Don't delete source file when decompressing to stdoutRobert Griebl2002-05-151-1/+2
| | | | This is the normal GNU gunzip behaviour
* * archival/gunzip.c (gunzip_file): New.Matt Kraai2002-04-291-99/+99
| | | | (gunzip_main): Handle no arguments correctly.
* * archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standardMatt Kraai2002-04-151-2/+2
| | | | | output. * testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.
* Rework per how I did things in version in 0.60.3 so it canEric Andersen2002-04-131-69/+88
| | | | | properly uncompress multiple files now. -Erik
* Patch from Laurence Anderson <L.D.Anderson@warwick.ac.uk> forEric Andersen2002-04-132-1/+25
| | | | | better tape drive support in tar/cpio by using an intervening pipe...
* Update some missing copyright noticesEric Andersen2002-04-131-1/+1
|
* Completely rework the config system so that it no longer annoys me to work onEric Andersen2002-04-124-64/+97
| | | | | | | 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
* Fix email addrEric Andersen2002-04-061-3/+3
|
* * archival/bunzip2.c (bunzip2_main): Remove compressed file.Matt Kraai2002-03-271-2/+19
| | | | * testsuite/bunzip2/bunzip2-removes-compressed-file: New.
* * archival/bunzip2.c: Include <unistd.h>.Matt Kraai2002-03-271-17/+22
| | | | | | | (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.
* * archival/gzip.c (gzip_main): Ensure that the output is a terminal and useMatt Kraai2002-03-221-2/+2
| | | | error_msg to display the error message.
* Reinitialize initial shift register value for on each pass.Eric Andersen2002-03-202-2/+6
| | | | -Erik
* Parse the include list to writeTarFile rather than argv, fixes a bug where ↵Glenn L McGrath2002-02-151-2/+1
| | | | tar files wernt being created.
* Fix condition that prevented creation of compressed filesGlenn L McGrath2002-02-131-1/+1
|
* * archival/gzip.c (ifname, ofname): Delete.Matt Kraai2002-02-051-67/+62
| | | | | | | | (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.
* * archival/gzip.c (gzip_main): Display usage if given multiple files.Matt Kraai2002-02-051-0/+3
|
* * archival/tar.c (tar_main): Remove unused variable.Matt Kraai2002-01-081-4/+0
|
* * archival/dpkg.c (create_list): Use chomp.Matt Kraai2002-01-022-10/+2
| | | | * archival/tar.c (append_file_list_to_list): Likewise.
* unzip applet by Laurence AndersonGlenn L McGrath2002-01-028-53/+260
| | | | ----------------------------------------------------------------------
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-205-54/+54
|