summaryrefslogtreecommitdiff
path: root/archival/libunarchive (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko2007-10-132-9/+7
| | | | | | | in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
* bunzip: small code shrink and consmeticsDenis Vlasenko2007-10-101-22/+28
| | | | | | | | | read_bunzip 276 283 +7 get_bits 184 162 -22 get_next_block 1833 1810 -23 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 7/-45) Total: -38 bytes
* delete now unused check_header_gzip.cDenis Vlasenko2007-10-051-59/+0
| | | | | sum: do not use uintmax needlessly
* gunzip: support concatenated gz files.Denis Vlasenko2007-10-053-243/+367
| | | | | | | text data bss dec hex filename 770988 1029 9552 781569 bed01 busybox.t0/busybox 771105 1029 9552 781686 bed76 busybox.t3/busybox
* bunzip2: trim verbose messagesDenis Vlasenko2007-09-281-3/+3
| | | | | | | | text data bss dec hex filename 770752 1029 9696 781477 beca5 busybox_old 770691 1029 9696 781416 bec68 busybox_unstripped
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-2/+1
|
* update Glenn McGrath's email addressDenis Vlasenko2007-09-211-1/+1
|
* style fix, no code changesDenis Vlasenko2007-09-093-3/+6
|
* open_transformer: fix vda's goofupDenis Vlasenko2007-09-091-2/+3
|
* tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau ↵Denis Vlasenko2007-09-055-37/+61
| | | | <landau_alex@yahoo.com>)
* tar: conditionally don't wait for vforked child to exec, as it alwaysDenis Vlasenko2007-09-041-2/+4
| | | | | | | | | | | | | | | works right on Linux, and anyway mayresult only on less-than-clear error message only, it will not cause tar to misbehave. function old new delta open_transformer 98 80 -18 writeTarFile 714 547 -167 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-185) Total: -185 bytes text data bss dec hex filename 770651 1051 10764 782466 bf082 busybox_old 770463 1051 10764 782278 befc6 busybox_unstripped
* assorted fixes for breakage found by randomconfigDenis Vlasenko2007-08-171-0/+2
|
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-133-6/+8
|
* 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
* style fix (stray space before ';')Denis Vlasenko2007-07-211-2/+2
|
* tar: improve OLDGNU compat, make old SUN compat configurableDenis Vlasenko2007-06-212-6/+26
|
* do not do utime() on links, it acts on link targets, and we don't want that.Denis Vlasenko2007-06-204-37/+41
| | | | | rename link_name to link_target, less confusing this way.
* diff: shrink code (-85 bytes):Denis Vlasenko2007-06-121-5/+5
| | | | | | | | | | | | 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
* moved biggest stack buffers to malloc space, or made their size configurableDenis Vlasenko2007-06-101-49/+49
| | | | | | | | | | | | | | | | | (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
* rmp: add optional support for bz2 data. +50 bytes of codeDenis Vlasenko2007-06-086-8/+8
|
* delete tons of extra #includesDenis Vlasenko2007-05-3114-22/+13
|
* use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko2007-05-312-10/+1
| | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
* whitespace fixesDenis Vlasenko2007-05-301-2/+2
|
* xpipe: introduce (saves ~170 bytes)Denis Vlasenko2007-05-261-3/+1
| | | | | udhcp/signalpipe.c: use pipe instead of socketpair.
* style fixesDenis Vlasenko2007-04-131-7/+7
|
* make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko2007-04-103-25/+37
| | | | no forking anymore, bunzip2 unpack routine now does all it in memory.
* make a few struct bb_applet members conditionalDenis Vlasenko2007-04-101-1/+4
| | | | | | rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig
* one-liner: fix indentationDenis Vlasenko2007-04-101-1/+1
|
* bunzip2: big style cleanup. No code changes apart from one s/write/safe_write/Denis Vlasenko2007-04-101-190/+208
| | | | (verified with objdump).
* random small shrinkage and elimination of staticsDenis Vlasenko2007-04-071-2/+2
|
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-041-1/+1
|
* Attempt to get more applets compile for NOMMU.Denis Vlasenko2007-03-261-1/+7
| | | | | | | 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).
* ls: fix segfault-if-standalone-shell, add big fat comment.Denis Vlasenko2007-03-191-1/+1
|
* gunzip: s/unsigned char extra_short/unsigned extra_short/Denis Vlasenko2007-03-151-1/+1
| | | | we can unzip openssh-4.3p2.tar.gz now :)
* get_header_ar: reformatted code, no real changesDenis Vlasenko2007-03-141-10/+14
|
* gzip: reduce global data footprint, part 3Denis Vlasenko2007-03-141-0/+2
|
* kill superfluous returns at the end of void functionsDenis Vlasenko2007-03-111-5/+0
|
* bunzip2/gunzip/uncompress/unlzma: merge into common code -Denis Vlasenko2007-03-072-7/+4
| | | | fix few corner cases, reduce size by 450 bytes. Update testsuite.
* remove f wordsDenis Vlasenko2007-03-041-1/+1
|
* tar: handle tarfiles with (broken) checksums a-la Sun.Denis Vlasenko2007-03-031-6/+13
|
* make tar restore mode againDenis Vlasenko2007-02-121-0/+8
|
* whitespace fixes (leading spaces to tab)Denis Vlasenko2007-01-131-1/+1
|
* 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-052-58/+110
| | | | | | | 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
|
* Stop tracking buffer size - it is a constant.Denis Vlasenko2007-01-051-25/+34
| | | | | | | | 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!