Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2006-10-27 | last nail into error_msg() (de)capitalization | Denis Vlasenko | |
2006-10-26 | rename functions to more understandable names | Denis Vlasenko | |
2006-10-20 | message string changes, mostly for consistency, also -32 bytes in .rodata | Denis Vlasenko | |
2006-10-14 | add open_read_close() and similar stuff | Denis Vlasenko | |
2006-10-12 | bb_get_[chomped]line_from_file wasn't descriptive enough. | Denis Vlasenko | |
Renaming... | |||
2006-10-12 | style fixes | Denis Vlasenko | |
2006-10-12 | small style fixes | Denis Vlasenko | |
2006-10-10 | od: provide full-blown od from coreutils if CONFIG_DESKTOP | Denis Vlasenko | |
2006-10-10 | fixes from Vladimir Dronnikov <dronnikov@gmail.ru> | Denis Vlasenko | |
2006-10-08 | correct largefile support, add comments about it. | Denis Vlasenko | |
2006-10-08 | attempt to regularize atoi mess. | Denis Vlasenko | |
2006-10-05 | build system overhaul | Denis Vlasenko | |
2006-10-03 | bb_applet_name -> applet_name | Denis Vlasenko | |
2006-10-03 | getopt_ulflags -> getopt32. | Denis Vlasenko | |
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. | |||
2006-10-03 | random style fixes | Denis Vlasenko | |
2006-10-01 | gzip: add a bit of comment. The code itself | Denis Vlasenko | |
is too bloated to work on it... | |||
2006-10-01 | g[un]zip: add support for -v (verbose). | Denis Vlasenko | |
Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that. | |||
2006-09-30 | dpkg: fix use-after-free (bug 939) | Denis Vlasenko | |
2006-09-30 | vconfig: fix bug 701 (I be damned if I understand it) | Denis Vlasenko | |
2006-09-29 | Yet another silly little byte saving. couldn't -> cannot | Denis Vlasenko | |
2006-09-28 | dpkg: style fixes; short -> int (generated code is smaller) | Denis Vlasenko | |
2006-09-28 | dpkg: reduce bss usage by ~130 kbytes (yes, kilobytes!) | Denis Vlasenko | |
at the cost of ~100 bytes of text. Improves friendliness to nommu systems. (Dunno whether nommu people ever use dpkg, though...) | |||
2006-09-27 | usage.h: remove ugly tricks. We have USE_FEATURE_xxx now. | Denis Vlasenko | |
Few bugs are now exposed... | |||
2006-09-27 | silly switch style fix | Denis Vlasenko | |
2006-09-23 | bb_askpass: shorten static password buffer. 256 is way too large. | Denis Vlasenko | |
simplify code a bit. | |||
2006-09-22 | gzip: getopt_ulflags'isation | Denis Vlasenko | |
2006-09-17 | whitespace cleanup | Denis Vlasenko | |
2006-09-12 | Remove pointless "const". Bloatcheck says 0 bytes difference. | Rob Landley | |
2006-09-11 | - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵ | Bernhard Reutner-Fischer | |
defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes | |||
2006-09-10 | Cleanup headers and replace the zero padding with an even smaller version. | Rob Landley | |
One of the pads turned out to be unnecessary: sizeof(struct TarHeader) is TAR_BLOCK_SIZE, the padding's in the struct. The others could be done inline with bb_common_bufsiz1. This is a cleanup I did to Denis' patch long ago, but got sidetracked by what turned into svn 15660. | |||
2006-09-09 | tar: fix "xopen with O_CREAT" warning, improve zero padding write | Denis Vlasenko | |
(was doing zillions of 1-byte write syscalls) |