aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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!
* simplify access to buffer, making code a bit smallerDenis Vlasenko2007-01-051-80/+90
|
* extern variable declaration in a .c file is heresy - fixing itDenis Vlasenko2007-01-031-2/+4
|
* merge post-1.3.0 fixesDenis Vlasenko2006-12-262-8/+19
|
* style fixesDenis Vlasenko2006-12-263-38/+38
| | | | last xcalloc replaced by xzalloc
* remove useless casts (type*) xzalloc(...)Denis Vlasenko2006-12-221-1/+1
|
* removal of commented-out cruftDenis Vlasenko2006-12-223-15/+3
|
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-226-11/+12
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-272-3/+3
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-276-20/+16
|
* tar: refuse to untar files with "/../" componentsDenis Vlasenko2006-11-261-1/+6
|
* tar: correctly skip (and warn about) pax headers.Denis Vlasenko2006-11-261-19/+34
| | | | | plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs!
* tar: small fix and small optimizationDenis Vlasenko2006-11-251-2/+4
|
* tar: buglet fixDenis Vlasenko2006-11-241-1/+1
|
* tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko2006-11-242-21/+46
| | | | | | | | | (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
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-242-25/+23
|
* tar:Denis Vlasenko2006-11-241-74/+93
| | | | | | | | | * 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
* insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close().Denis Vlasenko2006-11-211-7/+6
|