summaryrefslogtreecommitdiff
path: root/archival/gunzip.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath2004-04-251-1/+1
|
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-4/+4
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-3/+3
|
* Use bb_getopt_ulflags, save 150 bytes.Glenn L McGrath2004-01-051-28/+11
|
* Move from read_gz to the pipe()+fork() method.Glenn L McGrath2003-11-151-2/+1
| | | | | | | | | open_transformer(), common code for pipe+fork. Function pointer for read() no longer needed. Allow inflate to be initialised with a specified buffer size to avoid over-reading. Reset static variables in inflate_get_next_window to fix a bug where only the first file in a .zip would be be extracted.
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-15/+15
|
* Make uncompress a seperate applet so it doesnt pull in all the gunzip codeGlenn L McGrath2002-11-011-2/+2
|
* Allow the .Z prefix if compress support enabledGlenn L McGrath2002-11-011-5/+9
|
* Report errror if the first magic character doesnt matchGlenn L McGrath2002-11-011-0/+3
|
* Save status so we know if to delete compressed fileGlenn L McGrath2002-09-301-1/+2
|
* Fix compress support and prevent a segfaultGlenn L McGrath2002-09-271-4/+18
|
* New common unarchive code.Glenn L McGrath2002-09-251-16/+24
|
* 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
|
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl2002-07-191-2/+1
| | | | | | | | | #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.
* 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.
* 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
* Fix email addrEric Andersen2002-04-061-3/+3
|
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-1/+1
|
* Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai2001-11-121-1/+1
|
* Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵Glenn L McGrath2001-07-131-0/+3
| | | | supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
* Initialise in_file to stdin, so it wont crash if no source specifiedGlenn L McGrath2001-06-201-2/+2
|
* Make - read compressed data from stdin (thanks to Marius Groeger).Matt Kraai2001-05-221-1/+1
|
* woops, forgot the break statmentGlenn L McGrath2001-05-071-0/+1
|
* Tolerate -q argument, if -q is passed give a warning and continue rather ↵Glenn L McGrath2001-05-071-1/+3
| | | | than just fail
* Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen2001-04-251-4/+0
| | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
* Eliminate spurious warning, convert to getopt, and eliminate redundant check.Matt Kraai2001-04-181-1/+3
|
* Fix a number of problems with argument handling.Matt Kraai2001-04-181-49/+29
|
* Eliminate a segfault when called on an existing file with out an extension:Matt Kraai2001-04-181-2/+2
| | | | touch foo && gunzip foo
* Fix zcat/gunzip when reading from stdinGlenn L McGrath2001-04-181-26/+28
|
* Move unzip, gz_open, gz_close to libbbGlenn L McGrath2001-04-111-991/+6
|
* gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled.Eric Andersen2001-03-291-0/+2
| | | | Fix that.
* Fix zcatGlenn L McGrath2001-03-291-4/+2
|
* gunzip -c works againGlenn L McGrath2001-03-291-23/+19
|
* Fixes from Robert KaiserGlenn L McGrath2001-03-281-6/+4
|
* Remove cruftGlenn L McGrath2001-03-281-2/+2
|
* Fix tar -z, calls gz_open nowGlenn L McGrath2001-03-281-9/+8
|
* Major cleanup to better adhere to style guide and use standard busybox functionsGlenn L McGrath2001-03-281-898/+724
|
* Clean up more local vars which shadow globalsEric Andersen2001-03-211-4/+4
| | | | -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-8/+8
|
* Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen2001-01-251-2/+2
| | | | -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-24/+27
|
* Support for tar -z option for uncompressing onlyGlenn L McGrath2000-12-101-2/+2
|
* Introduce new function gunzip_init()Glenn L McGrath2000-12-101-32/+35
| | | | gunzip_init() will make it easier to use gunzip from other bb functions.