aboutsummaryrefslogtreecommitdiff
path: root/archival/gunzip.c
AgeCommit message (Collapse)Author
2004-04-25Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-05Use bb_getopt_ulflags, save 150 bytes.Glenn L McGrath
2003-11-15Move from read_gz to the pipe()+fork() method.Glenn L McGrath
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.
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-11-01Make uncompress a seperate applet so it doesnt pull in all the gunzip codeGlenn L McGrath
2002-11-01Allow the .Z prefix if compress support enabledGlenn L McGrath
2002-11-01Report errror if the first magic character doesnt matchGlenn L McGrath
2002-09-30Save status so we know if to delete compressed fileGlenn L McGrath
2002-09-27Fix compress support and prevent a segfaultGlenn L McGrath
2002-09-25New common unarchive code.Glenn L McGrath
2002-08-26chmod on the NEW fileGlenn L McGrath
2002-08-24Reorganise, make it just one function, remove -v option it didnt work ↵Glenn L McGrath
properly anyway, dont setvbuf it doesnt make any difference in performance.
2002-08-24Run through indent, use bracesGlenn L McGrath
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#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.
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-13Rework per how I did things in version in 0.60.3 so it canEric Andersen
properly uncompress multiple files now. -Erik
2002-04-06Fix email addrEric Andersen
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-07-13Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵Glenn L McGrath
supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
2001-06-20Initialise in_file to stdin, so it wont crash if no source specifiedGlenn L McGrath
2001-05-22Make - read compressed data from stdin (thanks to Marius Groeger).Matt Kraai
2001-05-07woops, forgot the break statmentGlenn L McGrath
2001-05-07Tolerate -q argument, if -q is passed give a warning and continue rather ↵Glenn L McGrath
than just fail
2001-04-25Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen
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
2001-04-18Eliminate spurious warning, convert to getopt, and eliminate redundant check.Matt Kraai
2001-04-18Fix a number of problems with argument handling.Matt Kraai
2001-04-18Eliminate a segfault when called on an existing file with out an extension:Matt Kraai
touch foo && gunzip foo
2001-04-18Fix zcat/gunzip when reading from stdinGlenn L McGrath
2001-04-11Move unzip, gz_open, gz_close to libbbGlenn L McGrath
2001-03-29gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled.Eric Andersen
Fix that.
2001-03-29Fix zcatGlenn L McGrath
2001-03-29gunzip -c works againGlenn L McGrath
2001-03-28Fixes from Robert KaiserGlenn L McGrath
2001-03-28Remove cruftGlenn L McGrath
2001-03-28Fix tar -z, calls gz_open nowGlenn L McGrath
2001-03-28Major cleanup to better adhere to style guide and use standard busybox functionsGlenn L McGrath
2001-03-21Clean up more local vars which shadow globalsEric Andersen
-Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-25Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen
-Erik
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2000-12-10Support for tar -z option for uncompressing onlyGlenn L McGrath
2000-12-10Introduce new function gunzip_init()Glenn L McGrath
gunzip_init() will make it easier to use gunzip from other bb functions.