Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-26 | Fix xmalloc_fgets_str so that it really does NOT strip terminator. | Denis Vlasenko | |
Add xmalloc_fgetline_str which does strip terminator, and use it in dpkg instead of xmalloc_fgets_str. netstat: use xmalloc_fgets_str - allows to eat strings with NULs (this fixes bug with some weird /proc/net/unix input) function old new delta xmalloc_fgets_internal - 191 +191 xmalloc_fgetline_str - 18 +18 do_info 116 120 +4 unix_do_one 451 447 -4 tcp_do_one 423 419 -4 send_tree 369 365 -4 xmalloc_fgets_str 178 15 -163 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175) Total: 38 bytes text data bss dec hex filename 778445 832 7344 786621 c00bd busybox_old 778483 832 7344 786659 c00e3 busybox_unstripped | |||
2007-10-11 | add -fvisibility=hidden to CC flags, mark XXX_main functions | Denis Vlasenko | |
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so | |||
2007-08-18 | don't pass argc in getopt32, it's superfluous | Denis Vlasenko | |
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped | |||
2007-08-14 | trylink: automatically use custom link script if user provides one | Denis Vlasenko | |
vinfo_msg: one user (info_msg), incorporate in it *: style fixes | |||
2007-08-13 | s/#ifdef CONFIG_/#if ENABLE_/g | Denis Vlasenko | |
2007-08-12 | trylink: produce even more info about final link stage | Denis Vlasenko | |
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 | |||
2007-07-24 | Replace index_in_[sub]str_array with index_in_[sub]strings, | Denis Vlasenko | |
which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped | |||
2007-07-21 | style fix (stray space before ';') | Denis Vlasenko | |
2007-06-12 | A few more string duplicates found & eliminated | Denis Vlasenko | |
# size busybox_old busybox_unstripped text data bss dec hex filename 679693 2700 15632 698025 aa6a9 busybox_old 679523 2700 15632 697855 aa5ff busybox_unstripped | |||
2007-06-05 | - kiltedknight writes: Busybox incorrectly parses a line from the status ↵ | Bernhard Reutner-Fischer | |
file, claiming that a required package is not installed or tagged to be installed when it actually is. Closes #1221 | |||
2007-06-05 | - fix typo in error message. Closes #1308 | Bernhard Reutner-Fischer | |
2007-05-26 | usage.c: remove reference to busybox.h | Denis Vlasenko | |
*: s/include "busybox.h"/include "libbb.h" | |||
2007-04-16 | style fixes, no code changes | Denis Vlasenko | |
2007-04-13 | dpkg: use nitfields which are a bit closer to typical ushort. | Denis Vlasenko | |
Code size -800. | |||
2007-03-29 | dpkg: run_package_script() returns 0 if all ok and non-zero if failure. | Denis Vlasenko | |
The result code was checked incorrectly in two places. (from "Kim B. Heino" <Kim.Heino@bluegiga.com>) | |||
2007-03-19 | dpkg: free_package(NULL) is ok, so don't test for NULL, just free. | Denis Vlasenko | |
2007-03-19 | Kim B. Heino writes: | Bernhard Reutner-Fischer | |
When installing a new package with dpkg dependencies are checked correctly. But when I try to update an existing package, the dependencies are checked against the old package, not against new package. Thus the new package can break dependencies. | |||
2007-03-11 | kill superfluous returns at the end of void functions | Denis Vlasenko | |
2007-02-15 | dpkg: fix segfault on "dpkg -i" | Denis Vlasenko | |
2007-02-03 | suppress warnings about easch <applet>_main() having | Denis Vlasenko | |
no preceding prototype | |||
2007-01-29 | preparatory patch for -Wwrite-strings #2 | Denis Vlasenko | |
2006-12-22 | remove useless casts (type*) xzalloc(...) | Denis Vlasenko | |
2006-12-22 | dpkg: getopt32-ification etc, -100 bytes | Denis Vlasenko | |
2006-12-19 | remove casts from xmalloc() | Denis Vlasenko | |
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-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-12 | bb_get_[chomped]line_from_file wasn't descriptive enough. | Denis Vlasenko | |
Renaming... | |||
2006-10-12 | small style fixes | Denis Vlasenko | |
2006-09-30 | dpkg: fix use-after-free (bug 939) | 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 | silly switch style fix | Denis Vlasenko | |
2006-09-17 | whitespace cleanup | Denis Vlasenko | |
2006-09-06 | removed a lot of trailing \n in bb_msg() calls. It is added | Denis Vlasenko | |
automatically by function itself. | |||
2006-09-05 | The bb_ prefixes were removed from xasprintf() and xopen() a month ago (in | Rob Landley | |
svn 15767). | |||
2006-09-03 | dpkg: fix buffer overflow (bug 983) | Denis Vlasenko | |
2006-08-03 | Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate | Rob Landley | |
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) | |||
2006-07-02 | Standardize on the vi editing directives being on the first line. | "Robert P. J. Day" | |
2006-07-01 | More removal of "#if 0" content. | "Robert P. J. Day" | |
2006-05-29 | - ls: remove unused variable | Bernhard Reutner-Fischer | |
- dpkg.c, diff: use xstat text data bss dec hex filename 848823 9100 645216 1503139 16efa3 busybox_old 848679 9100 645216 1502995 16ef13 busybox_unstripped bloatcheck is completely useless as it sees -79 for this, which is bogus. | |||
2006-05-29 | More size shrinkage. | Rob Landley | |
2006-05-26 | Change llist_add_* to take the address of the list rather than returning the new | Rob Landley | |
head, and change all the callers. | |||
2006-05-07 | Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes | Rob Landley | |
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. | |||
2006-03-01 | Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x) | Rob Landley | |
from before "if(x) free(x)". | |||
2006-02-22 | Patch from Denis Vlasenko to constify things and fix a few typos. | Rob Landley | |
2006-01-25 | just whitespace | Tim Riker | |
2005-08-16 | Bernhard Fischer says: use xmalloc() instead of malloc() | Mike Frysinger | |
2005-07-22 | applying fix for: | Paul Fox | |
0000093: Patch for dpkg - can't handle scripts Attached patch is needed to fix dpkg's support for preinst, postinst etc script files. | |||
2005-04-16 | Patch from Bernhard Fischer to make a bunch of symbols static | Eric Andersen | |
which were otherwise cluttering the global namespace. |