aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive
AgeCommit message (Collapse)Author
2007-01-10fix bug 1146 (gunzip breakage introduced by me --vda)Denis Vlasenko
2007-01-06move [g]zip decompressor state into malloc'ed buffer. size:Denis Vlasenko
text data bss dec hex 5256 0 108 5364 14f4 - old 4915 0 0 4915 1333 - new
2007-01-05split inflate_xx_setup() subroutines from inflate_xx()Denis Vlasenko
2007-01-05do not expose internal state of [g]zip unpacker.Denis Vlasenko
fix memory leak in inflate_gunzip.
2007-01-05Stopped doing assignments inside expressions.Denis Vlasenko
Who wrote this gem, I wonder? n -= (e = (e = gunzip_wsize - ((d &= gunzip_wsize - 1) > w ? d : w)) > n ? n : e);
2007-01-05decompress_unzip: preparatory patchDenis Vlasenko
2007-01-05Stop tracking buffer size - it is a constant.Denis Vlasenko
Stop ignoring write errors. Fix bugs in this line: rc->buffer_size = read(rc->fd, RC_BUFFER, rc->buffer_size); (a) should use safe_read() (b) just ONE short read (e.g. 4 bytes) will make ALL future reads short!
2007-01-05simplify access to buffer, making code a bit smallerDenis Vlasenko
2007-01-03extern variable declaration in a .c file is heresy - fixing itDenis Vlasenko
2006-12-26merge post-1.3.0 fixesDenis Vlasenko
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-22remove useless casts (type*) xzalloc(...)Denis Vlasenko
2006-12-22removal of commented-out cruftDenis Vlasenko
2006-12-22tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko
(we have bb_copyfd_exact_size now for that kind of usage)
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-11-26tar: refuse to untar files with "/../" componentsDenis Vlasenko
2006-11-26tar: correctly skip (and warn about) pax headers.Denis Vlasenko
plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs!
2006-11-25tar: small fix and small optimizationDenis Vlasenko
2006-11-24tar: buglet fixDenis Vlasenko
2006-11-24tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko
(GNU extensions 'K' and 'L'). We correctly handle them when untarring now, but unfortunately we still don't use them when tarring! That stupid 100 char limit is still there! The biggest problem is that we don't support 'pax' tar format. Linux kernel tarballs are in this format... shame
2006-11-24header_verbose_list: stop truncating file size in listingDenis Vlasenko
2006-11-24tar:Denis Vlasenko
* unpack: handle tar header fields which are not NUL terminated * pack: handle 4+GB files correctly * pack: refuse to store 101+ softlinks (was truncating link target name) * pack: mask mode with 07777
2006-11-21insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close().Denis Vlasenko
2006-11-21cpio: (allegedly) fix bug 0001095:Denis Vlasenko
"cpio hardlink support and possible memory leak fix"
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-14add open_read_close() and similar stuffDenis Vlasenko
2006-10-10od: provide full-blown od from coreutils if CONFIG_DESKTOPDenis Vlasenko
2006-10-10fixes from Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-05build system overhaulDenis Vlasenko
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-27silly switch style fixDenis 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-09-06- strip 399424 off the bss by making decompress_uncompress buffers config ↵Bernhard Reutner-Fischer
buffers. Compile tested (too lazy to look for a small .Z on the net). $ size busybox.old busybox text data bss dec hex filename 859555 10232 645732 1515519 171fff busybox.old 859683 10232 246308 1116223 11083f busybox $ make bloatcheck function old new delta uncompress 1036 1160 +124 inbuf 2116 4 -2112 outbuf 4100 4 -4096 htab 131072 - -131072 codetab 262144 - -262144 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 1/2 up/down: 124/-399424) Total: -399300 bytes
2006-09-03tar: revert older fix (non-portable), added new one.Denis Vlasenko
testsuite tar-extracts-all-subdirs now passes.
2006-09-02tar: tar xf foo.tar dir/dir did not extract all subdirs.Denis Vlasenko
Added testsuite entry for this
2006-08-04Use xopen3() instead of an after-the-fact chown.Rob Landley
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-20"formated" -> "formatted" throughout the code base."Robert P. J. Day"
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2006-07-06Fix tar so it can extract git-generated tarballs, based on a suggestionRob Landley
from Erik Frederiksen.
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
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-06-20Since rangecoder is just a bunch of C functions, move it into the one userRob Landley
(decompress_unlzma.c). Also a slight #include cleanup, and I've been meaning to put #include <unistd.h> into libbb.h since it's so darn common...
2006-05-29More size shrinkage.Rob Landley