summaryrefslogtreecommitdiff
path: root/archival/libunarchive
AgeCommit message (Collapse)Author
2007-07-21style fix (stray space before ';')Denis Vlasenko
2007-06-21tar: improve OLDGNU compat, make old SUN compat configurableDenis Vlasenko
2007-06-20do not do utime() on links, it acts on link targets, and we don't want that.Denis Vlasenko
rename link_name to link_target, less confusing this way.
2007-06-12diff: shrink code (-85 bytes):Denis Vlasenko
function old new delta fiddle_sum 8 - -8 diffreg 2717 2690 -27 prepare 334 284 -50 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
2007-06-10moved biggest stack buffers to malloc space, or made their size configurableDenis Vlasenko
(8k of shell line edit buffer is an overkill) # make ARCH=i386 bloatcheck function old new delta read_line_input 3933 3967 +34 ifaddrlist 348 345 -3 do_loadfont 208 191 -17 edit_file 840 819 -21 .rodata 129112 129080 -32 uncompress 1305 1268 -37 loadfont_main 566 495 -71 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 34/-181) Total: -147 bytes
2007-06-08rmp: add optional support for bz2 data. +50 bytes of codeDenis Vlasenko
2007-05-31delete tons of extra #includesDenis Vlasenko
2007-05-31use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko
(add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
2007-05-30whitespace fixesDenis Vlasenko
2007-05-26xpipe: introduce (saves ~170 bytes)Denis Vlasenko
udhcp/signalpipe.c: use pipe instead of socketpair.
2007-04-13style fixesDenis Vlasenko
2007-04-10make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko
no forking anymore, bunzip2 unpack routine now does all it in memory.
2007-04-10make a few struct bb_applet members conditionalDenis Vlasenko
rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig
2007-04-10one-liner: fix indentationDenis Vlasenko
2007-04-10bunzip2: big style cleanup. No code changes apart from one s/write/safe_write/Denis Vlasenko
(verified with objdump).
2007-04-07random small shrinkage and elimination of staticsDenis Vlasenko
2007-04-04- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer
2007-03-26Attempt to get more applets compile for NOMMU.Denis Vlasenko
TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
2007-03-19ls: fix segfault-if-standalone-shell, add big fat comment.Denis Vlasenko
2007-03-15gunzip: s/unsigned char extra_short/unsigned extra_short/Denis Vlasenko
we can unzip openssh-4.3p2.tar.gz now :)
2007-03-14get_header_ar: reformatted code, no real changesDenis Vlasenko
2007-03-14gzip: reduce global data footprint, part 3Denis Vlasenko
2007-03-11kill superfluous returns at the end of void functionsDenis Vlasenko
2007-03-07bunzip2/gunzip/uncompress/unlzma: merge into common code -Denis Vlasenko
fix few corner cases, reduce size by 450 bytes. Update testsuite.
2007-03-04remove f wordsDenis Vlasenko
2007-03-03tar: handle tarfiles with (broken) checksums a-la Sun.Denis Vlasenko
2007-02-12make tar restore mode againDenis Vlasenko
2007-01-13whitespace fixes (leading spaces to tab)Denis Vlasenko
2007-01-10missed a few #undefs (no real impact I think)Denis Vlasenko
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