summaryrefslogtreecommitdiff
path: root/archival/libunarchive/decompress_unzip.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply all post-1.8.1 patches1_8_2Denis Vlasenko2007-11-241-0/+1
|
* bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko2007-10-131-1/+1
| | | | | | | in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
* gunzip: support concatenated gz files.Denis Vlasenko2007-10-051-240/+365
| | | | | | | text data bss dec hex filename 770988 1029 9552 781569 bed01 busybox.t0/busybox 771105 1029 9552 781686 bed76 busybox.t3/busybox
* update Glenn McGrath's email addressDenis Vlasenko2007-09-211-1/+1
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-6/+6
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* rmp: add optional support for bz2 data. +50 bytes of codeDenis Vlasenko2007-06-081-2/+2
|
* make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko2007-04-101-1/+1
| | | | no forking anymore, bunzip2 unpack routine now does all it in memory.
* gzip: reduce global data footprint, part 3Denis Vlasenko2007-03-141-0/+2
|
* missed a few #undefs (no real impact I think)Denis Vlasenko2007-01-101-0/+2
|
* fix bug 1146 (gunzip breakage introduced by me --vda)Denis Vlasenko2007-01-101-17/+19
|
* move [g]zip decompressor state into malloc'ed buffer. size:Denis Vlasenko2007-01-061-88/+192
| | | | | | text data bss dec hex 5256 0 108 5364 14f4 - old 4915 0 0 4915 1333 - new
* split inflate_xx_setup() subroutines from inflate_xx()Denis Vlasenko2007-01-051-119/+146
|
* do not expose internal state of [g]zip unpacker.Denis Vlasenko2007-01-051-34/+39
| | | | fix memory leak in inflate_gunzip.
* Stopped doing assignments inside expressions.Denis Vlasenko2007-01-051-35/+71
| | | | | | | Who wrote this gem, I wonder? n -= (e = (e = gunzip_wsize - ((d &= gunzip_wsize - 1) > w ? d : w)) > n ? n : e);
* decompress_unzip: preparatory patchDenis Vlasenko2007-01-051-56/+56
|
* extern variable declaration in a .c file is heresy - fixing itDenis Vlasenko2007-01-031-2/+4
|
* style fixesDenis Vlasenko2006-12-261-2/+2
| | | | last xcalloc replaced by xzalloc
* remove useless casts (type*) xzalloc(...)Denis Vlasenko2006-12-221-1/+1
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-1/+1
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* g[un]zip: add support for -v (verbose).Denis Vlasenko2006-10-011-5/+10
| | | | | Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that.
* vconfig: fix bug 701 (I be damned if I understand it)Denis Vlasenko2006-09-301-6/+6
|
* whitespace cleanupDenis Vlasenko2006-09-171-2/+2
|
* removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko2006-09-061-1/+1
| | | | | automatically by function itself.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-3/+1
| | | | | | | | | | 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.)
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-4/+3
| | | | xlseek and fdlength() for the new mkswap.
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-011-1/+1
|
* Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley2006-06-251-63/+24
| | | | some of which are even from him. :)
* Patch from Rob Sullivan to consolidate crc32 table generation.Rob Landley2006-04-101-35/+7
|
* - janitorial: huft_build is never used outside of decompress_unzip.c and has noBernhard Reutner-Fischer2006-04-021-0/+1
| | | | prototype (which suggests that it's of no general use) so make it static for now.
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-1/+1
| | | | the busybox binary) into enums (which don't).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-4/+4
| | | | definitions. (That should only be on prototypes.)
* The gentoo security guys found another way to segfault busybox's decompressionRob Landley2006-02-201-1/+1
| | | | | code: we can do a null dereference if one of our huffman tables has all zero length codes. This fixes it. (Thanks solar.)
* fixup a few types to prevent gcc (rightfully) whining about mixingEric Andersen2006-01-301-4/+4
| | | | signed and unsigned, unmatches pointer target types, etc
* Don't return 0 when there's an error.Rob Landley2006-01-101-0/+2
|
* - remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ↵Bernhard Reutner-Fischer2005-10-071-2/+2
| | | | | | | 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).
* remove unrequired dependences"Vladimir N. Oleynik"2005-09-141-2/+1
|
* Anand Avati hit an integer overflow problem in our unzip code.Rob Landley2005-08-311-1/+1
|
* Bernhard Fischer says: use xmalloc() instead of malloc()Mike Frysinger2005-08-161-1/+1
|
* applying fixes from: Paul Fox2005-07-201-79/+81
| | | | | 0000142: unzip enhancements
* When filling the bit buffer, gzip decompression apparently never checked for ↵Manuel Novoa III2005-03-011-1/+4
| | | | end of file, causing it to hang on corrupted input.
* Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath2004-04-251-1/+1
|
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-16/+16
|
* Move from read_gz to the pipe()+fork() method.Glenn L McGrath2003-11-151-99/+41
| | | | | | | | | 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-16/+16
|
* Woops, my gunzip fix broke unzip, these cant be staticGlenn L McGrath2003-02-091-2/+2
|
* Fix endian probelm on PPC, i had different types for an extern variable.Glenn L McGrath2003-02-091-13/+40
|
* fix warningGlenn L McGrath2002-12-011-1/+1
|