aboutsummaryrefslogtreecommitdiff
path: root/archival/gunzip.c
AgeCommit message (Collapse)Author
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.
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-11-08Move flush_outbuf to the file in which it is used, and by doing so fix aMatt Kraai
nasty error dealing with two different variables with the same name.
2000-11-07Cleanup of duplicated symbols -- found by compiling withEric Andersen
LDFLAGS += -Wl,-warn-common
2000-10-23Fix error messages.Matt Kraai
2000-09-29General cleanup of comments, defines, includes, and global variables, ↵Glenn L McGrath
removed those that arent needed, grouped those remaining at the top. Re-ordered functions to the order they are called. Removed static crc table, it now generates the table once for itself. Results in source reduced by 40%, so it should be a lot easier to work on in the future, binary size only reduced by under 2KB though.