aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/decompress_unzip.c
AgeCommit message (Collapse)Author
2006-10-01g[un]zip: add support for -v (verbose).Denis Vlasenko
Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that.
2006-09-30vconfig: fix bug 701 (I be damned if I understand it)Denis Vlasenko
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-06-25Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley
some of which are even from him. :)
2006-04-10Patch from Rob Sullivan to consolidate crc32 table generation.Rob Landley
2006-04-02- janitorial: huft_build is never used outside of decompress_unzip.c and has noBernhard Reutner-Fischer
prototype (which suggests that it's of no general use) so make it static for now.
2006-03-10Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley
the busybox binary) into enums (which don't).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-02-20The gentoo security guys found another way to segfault busybox's decompressionRob Landley
code: we can do a null dereference if one of our huffman tables has all zero length codes. This fixes it. (Thanks solar.)
2006-01-30fixup a few types to prevent gcc (rightfully) whining about mixingEric Andersen
signed and unsigned, unmatches pointer target types, etc
2006-01-10Don't return 0 when there's an error.Rob Landley
2005-10-07- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ↵Bernhard Reutner-Fischer
ifconfig.c - gzip.c: see if O_NOFOLLOW is defined before using it, else take alternate path closes bug #221 (partially; The rest will follow later).
2005-09-14remove unrequired dependences"Vladimir N. Oleynik"
2005-08-31Anand Avati hit an integer overflow problem in our unzip code.Rob Landley
2005-08-16Bernhard Fischer says: use xmalloc() instead of malloc()Mike Frysinger
2005-07-20applying fixes from: Paul Fox
0000142: unzip enhancements
2005-03-01When filling the bit buffer, gzip decompression apparently never checked for ↵Manuel Novoa III
end of file, causing it to hang on corrupted input.
2004-04-25Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
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
2003-02-09Woops, my gunzip fix broke unzip, these cant be staticGlenn L McGrath
2003-02-09Fix endian probelm on PPC, i had different types for an extern variable.Glenn L McGrath
2002-12-01fix warningGlenn L McGrath
2002-11-24Add an input buffer (currently 32kB) to speed things up heaps, it still ↵Glenn L McGrath
requires 25% longer to decompress as compared to upstream.
2002-11-20Speed and memory usage improvements from Laurence AdnersonGlenn L McGrath
2002-11-20read_gz patch 3 from Laurence AndersonGlenn L McGrath
2002-11-17Patch from Laurence Anderson to provide a read_gz function, doesnt require ↵Glenn L McGrath
fork(), pipe(), consistent with read_bz2 and more flexible.
2002-09-25New common unarchive code.Glenn L McGrath
2002-09-16Patch from Matthias Lang <matthias@corelatus.se> to fix gunzipEric Andersen
error handling and prevent gunzip from hanging.
2002-08-22replace some global const ints with definesGlenn L McGrath
2002-08-22Run through indent, fix commentsGlenn L McGrath
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-03-20Reinitialize initial shift register value for on each pass.Eric Andersen
-Erik
2002-01-02unzip applet by Laurence AndersonGlenn L McGrath
----------------------------------------------------------------------
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-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-10-18Scrub up some function prototypes.Eric Andersen
-Erik
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
2001-07-13Dont setvbuff in here, must be called just after stream is initialised, ↵Glenn L McGrath
glibc tolerates using it later, uclibc doesnt
2001-07-11free coniditionally, just to make it play nice with dmalloc which is ↵Glenn L McGrath
incompatable with standard free()