aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-23cut: add proper stdout error handling, fix "-" handling;Denis Vlasenko
modest code shrink
2007-11-23logread: add forgotten INIT_G();Denis Vlasenko
2007-11-23logread: eliminate usage of data/bssDenis Vlasenko
ifup: don't remove virtual iface prefixes (eth0:0) function old new delta shbuf 4 - -4 SMrup 6 - -6 SMrdn 12 - -12 static.label_buf 20 4 -16 get_var 158 140 -18 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-56) Total: -56 bytes text data bss dec hex filename 783501 962 9260 793723 c1c7b busybox_old 783483 942 9244 793669 c1c45 busybox_unstripped
2007-11-23dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smallerDenis Vlasenko
function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
2007-11-22udhcpc: remove -W option, -A can be reused for thatDenis Vlasenko
help texts: trimmed a bit static.udhcpc_longopts 227 209 -18 udhcpc_main 2633 2590 -43 packed_usage 22927 22871 -56 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-117) Total: -117 bytes
2007-11-22fix a thinko in build systemDenis Vlasenko
2007-11-22ash: fix bug where redirection of closed fd was leaving it open afterwards.Denis Vlasenko
redirect 983 1024 +41 bb_echo 276 301 +25 popredir 118 132 +14 evalcommand 1163 1176 +13 bbunpack 358 366 +8 echocmd 13 5 -8 echo_main 13 5 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/2 up/down: 101/-16) Total: 85 bytes text data bss dec hex filename 774999 962 9236 785197 bfb2d busybox_old 775084 962 9236 785282 bfb82 busybox_unstripped
2007-11-22sestatus: new SELinux applet (KaiGai Kohei <kaigai@ak.jp.nec.com>)Denis Vlasenko
2007-11-22dhcpc: cleanup and comments; fix buggy timeout handling in corner cases.Denis Vlasenko
-25 bytes.
2007-11-22udhcpc: an option to perform ARP check (Jonas Danielsson ↵Denis Vlasenko
<jonas.danielsson@axis.com>) configurable, ~+300 bytes when on.
2007-11-19cleanup comments and coding style and rewrite the mdev.conf parser to use ↵Mike Frysinger
common busybox functions and call strdup() less often ... saves a ~few hundred bytes
2007-11-18ip: stop propagating argc; optimize ip_parse_common_argsDenis Vlasenko
function old new delta find_pair 167 187 +20 static.families - 17 +17 die_must_be_on_off - 11 +11 ... on_off 33 22 -11 do_ipaddr 103 90 -13 do_iptunnel 1001 986 -15 iproute_list_or_flush 1237 1217 -20 static.ip_common_commands 43 22 -21 do_iproute 2217 2193 -24 parse_args 1444 1414 -30 ip_do 47 16 -31 do_iprule 994 963 -31 ip_main 153 113 -40 ipaddr_modify 1357 1305 -52 ipaddr_list_or_flush 2543 2490 -53 ip_parse_common_args 294 159 -135 ------------------------------------------------------------------------------ (add/remove: 4/1 grow/shrink: 4/24 up/down: 85/-563) Total: -478 bytes text data bss dec hex filename 775561 966 9236 785763 bfd63 busybox_old 775073 962 9236 785271 bfb77 busybox_unstripped
2007-11-18stty: mark variable as staticDenis Vlasenko
2007-11-18make output a little more friendlyMike Frysinger
2007-11-18merge from upstream for systems that dont integrate libintl into their C ↵Mike Frysinger
library: commit aa1e5ef5c1d95e7ebf0821d9ba27debe43a87a22 Author: Sam Ravnborg <sam@ravnborg.org> Date: Sun Aug 12 23:15:44 2007 +0200 kbuild: check if we can link gettext not just compile cygwin provides the header file but the lib file needs to be added manually. A generic fix is to check if we can compile and link a program that uses gettext() and if it fails fall back to NO_NLS. International users of cygwin may have to specify HOST_LOADLIBES := "-lintl" on the make command line. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-11-18exported symbols may be weak, so allow symbols marked as WMike Frysinger
2007-11-18syslogd: use DEV_CONSOLE consistentlyDenis Vlasenko
init: remove obsolete comment
2007-11-18hexdump: add hd alias, add -R optionDenis Vlasenko
2007-11-17add comment clarifying busybox's use of non-standard tar headerPaul Fox
2007-11-16tar: fix a case where glibc detects bogus buffer overrunDenis Vlasenko
which is not really there!
2007-11-16dmesg,klogd: make code more readableDenis Vlasenko
libbb: explain why we declare klogctl libbb: move defs around so that order makes more sense
2007-11-16- use standard-imposed constants some moreBernhard Reutner-Fischer
2007-11-16- remove most of the forward declarations. No obj-code changes.Bernhard Reutner-Fischer
2007-11-16- add note about SUSv3 missing options.Bernhard Reutner-Fischer
2007-11-16who: add -a (by Tito)Denis Vlasenko
2007-11-15lash: fix compile-time warningDenis Vlasenko
2007-11-15df: add -aDenis Vlasenko
df: don't special case rootfs and /dev/root function old new delta df_main 746 684 -62 find_block_device 111 - -111 find_block_device_in_dir 243 - -243 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/1 up/down: 0/-416) Total: -416 bytes
2007-11-15df: add -i (conditional on CONFIG)Denis Vlasenko
uasge: trim a bit
2007-11-15cosmetic change in message textDenis Vlasenko
2007-11-14bad syntax error should go to stderrPaul Fox
2007-11-14Introduce FEATURE_PREFER_IPV4_ADDRESS. If selected, we have:Denis Vlasenko
function old new delta str2sockaddr 328 344 +16
2007-11-13tr: more of code shrink (getopt32-ification)Denis Vlasenko
runtest: cleanup. Method of getting $applets was truly bizarre function old new delta tr_main 655 527 -128
2007-11-13tr: better comments, small code shrinkDenis Vlasenko
function old new delta expand 2232 2230 -2 tr_main 677 655 -22
2007-11-13tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)Denis Vlasenko
readprofile: use xwrite function old new delta tr_main 679 677 -2 readprofile_main 1964 1944 -20
2007-11-13trylink: accomodate older versions of ldDenis Vlasenko
2007-11-13who: code shrink by Tito <farmatito@tiscali.it>Denis Vlasenko
function old new delta who_main 271 259 -12
2007-11-13add sed mini-docDenis Vlasenko
2007-11-13sed: support GNU-like '\t' escape in substitutionsDenis Vlasenko
2007-11-12inetd: revert bogus fix for bug 1562; shrink inetd a bitDenis Vlasenko
function old new delta dupconfig 159 146 -13 getconfigent 1123 1073 -50
2007-11-12open_transformer: do not duplicate "<program> -cf -"Denis Vlasenko
text data bss dec hex filename 677858 738 7236 685832 a7708 busybox_old 677804 738 7236 685778 a76d2 busybox_unstripped
2007-11-12gzip: fix a case where tar xzf fails (we use uninitialized fd)Denis Vlasenko
2007-11-11who: fix wrong date/time field sizeDenis Vlasenko
2007-11-10Announce 1.8.1Denis Vlasenko
2007-11-10init: fix bug 1584: improper check for fork errorDenis Vlasenko
2007-11-10umount: stop using excessive aounts of stack. Surprisingly,Denis Vlasenko
code shrank a lot too function old new delta umount_main 751 640 -111
2007-11-10lineedit: stop using both data/bss and tons of stack.Denis Vlasenko
stack usage was ~10 kb! unfortunately, noticeable code size growth: text data bss dec hex filename 9252 12 181 9445 24e5 busybox.t7/libbb/lineedit.o 9714 4 0 9718 25f6 busybox.t8/libbb/lineedit.o
2007-11-10*: remove superfluous "?" in option parsingDenis Vlasenko
2007-11-10readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too smallDenis Vlasenko
umount: don't actually need char[2 * PATH_MAX] for realpath
2007-11-10syslogd: support "symlink to symlink" for /dev/log; reduce stack usageDenis Vlasenko
function old new delta create_socket - 134 +134 syslogd_main 1132 865 -267 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 134/-267) Total: -133 bytes text data bss dec hex filename 775603 974 9420 785997 bfe4d busybox_old 775445 974 9420 785839 bfdaf busybox_unstripped
2007-11-08- commentary fixesBernhard Reutner-Fischer
- use common exit sequence for failure path: text data bss dec hex filename 308 0 0 308 134 libbb/xreadlink.o.pgf 296 0 0 296 128 libbb/xreadlink.o