Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-01-07 | gzip cleanup part #2 | Denis Vlasenko | |
2007-01-07 | a ton of gzip changes, split up in compiled and | Denis Vlasenko | |
run-tested pieces. Code was rather messy. It's not a bug fix, more like code cleanup. This is the first part. | |||
2007-01-06 | kill unused variable | Denis Vlasenko | |
2007-01-06 | move [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-05 | split inflate_xx_setup() subroutines from inflate_xx() | Denis Vlasenko | |
2007-01-05 | do not expose internal state of [g]zip unpacker. | Denis Vlasenko | |
fix memory leak in inflate_gunzip. | |||
2007-01-05 | Stopped 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-05 | decompress_unzip: preparatory patch | Denis Vlasenko | |
2007-01-05 | Stop 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-05 | simplify access to buffer, making code a bit smaller | Denis Vlasenko | |
2007-01-04 | - spelling fix | Bernhard Reutner-Fischer | |
2007-01-03 | extern variable declaration in a .c file is heresy - fixing it | Denis Vlasenko | |
2006-12-30 | done a dozen of randconfig test. guess what? ALL failed... | Denis Vlasenko | |
these are resulting fixes | |||
2006-12-28 | bb_xget[pw/gr]nam were horribly misnamed - fixed. | Denis Vlasenko | |
uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam | |||
2006-12-26 | merge post-1.3.0 fixes | Denis Vlasenko | |
2006-12-26 | style fixes | Denis Vlasenko | |
last xcalloc replaced by xzalloc | |||
2006-12-22 | remove useless casts (type*) xzalloc(...) | Denis Vlasenko | |
2006-12-22 | dpkg: getopt32-ification etc, -100 bytes | Denis Vlasenko | |
2006-12-22 | rpm: reformat. was really hard to read | Denis Vlasenko | |
2006-12-22 | removal of commented-out cruft | Denis Vlasenko | |
2006-12-22 | tar 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-12-19 | remove casts from xmalloc() | Denis Vlasenko | |
2006-12-18 | A bunch of defined(__GLIBC__) added. static-linking warning expanded | Denis Vlasenko | |
2006-12-17 | tar: report error if child dies while writing out the end of tarball | Denis Vlasenko | |
(e.g. out of disk space). | |||
2006-12-16 | inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid] | Denis Vlasenko | |
2006-12-16 | s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g | Denis Vlasenko | |
xstrtou: disallow leading '+' | |||
2006-12-12 | - remove functions marked as LEGACY in SUSv3 and use their modern counterparts. | Bernhard Reutner-Fischer | |
2006-11-29 | fix support for globally disabling --long-options. | Denis Vlasenko | |
(disabling them saves ~4K on fully configured bbox) | |||
2006-11-27 | tar: fix misplaced --exclude long option definition | Denis Vlasenko | |
2006-11-27 | style cleanup: return(a) -> return a, part 2 | Denis Vlasenko | |
2006-11-27 | style cleanup: return(a) -> return a, part 1 | Denis Vlasenko | |
2006-11-26 | small fixes: | Denis Vlasenko | |
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc. | |||
2006-11-26 | tar: refuse to untar files with "/../" components | Denis Vlasenko | |
2006-11-26 | tar: correctly skip (and warn about) pax headers. | Denis Vlasenko | |
plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs! | |||
2006-11-25 | tar: add support for FEATURE_TAR_GNU_EXTENSIONS so than we can save | Denis Vlasenko | |
long names now. We were able to read such tars, but not create. +275 bytes. Without FEATURE_TAR_GNU_EXTENSIONS: -25 bytes. We still cannot unpack Linux kernels, but not for long ;) | |||
2006-11-25 | tar: small fix and small optimization | Denis Vlasenko | |
2006-11-25 | tar: abort if tarring up file larger that 64Gb | Denis Vlasenko | |
(otherwise we will produce garbled tarfile) | |||
2006-11-24 | tar: fix multiple -t and/or -v options handling. | Denis Vlasenko | |
do not process list of files to tar up in reverse order. | |||
2006-11-24 | tar: sanitize option handling | Denis Vlasenko | |
2006-11-24 | tar: buglet fix | Denis Vlasenko | |
2006-11-24 | tar: fix and sanitize handling of long filenames/linknames | Denis 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-24 | tar: small fixes: | Denis Vlasenko | |
* size-optimize mapping code * kill double close | |||
2006-11-24 | tar: cache [ug]id->username/groupname mappings. Cuts down amount | Denis Vlasenko | |
of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!) | |||
2006-11-24 | tar: cry murder and bail out if file shrinks under us while we tar it up | Denis Vlasenko | |
2006-11-24 | header_verbose_list: stop truncating file size in listing | Denis Vlasenko | |
2006-11-24 | tar: | 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-21 | insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close(). | Denis Vlasenko | |
2006-11-21 | cpio: (allegedly) fix bug 0001095: | Denis Vlasenko | |
"cpio hardlink support and possible memory leak fix" | |||
2006-11-05 | rename: compare_string_array -> index_in_str_array | Denis Vlasenko | |
introduce index_in_substr_array and use it in iproute2 | |||
2006-10-27 | recursive_action: add depth param | Denis Vlasenko | |
chmod: match coreutils versus following links |