aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-06env: micro-optimizationDenis Vlasenko
printenv: fix "printenv VAR1 VAR2" bug (wasn't printing VAR2) (spotted by kalyanatejaswi balabhadrapatruni <kalyanatejaswi@yahoo.co.in>) env_main 267 260 -7 printenv_main 147 75 -72 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-79) Total: -79 bytes text data bss dec hex filename 770336 1096 11228 782660 bf144 busybox_old 770256 1096 11228 782580 bf0f4 busybox_unstripped
2007-08-06setfiles:Denis Vlasenko
* Bug fix: -f option did not work. * Using bb_simplify_path to remove extra slash for smaller code. (by Yuichi Nakamura <ynakam@hitachisoft.jp>)
2007-08-03less: add a bit more robustness in keyboard reading codeDenis Vlasenko
2007-08-03mount: print errno on NFS error (again)Denis Vlasenko
2007-08-03svlogd: fix timestamping; do not warn if config is missingDenis Vlasenko
sv: extend help text
2007-08-03ttysize: update copyrightDenis Vlasenko
2007-08-02udhcp: slight shrinkDenis Vlasenko
udhcpd_main 1171 1208 +37 udhcpc_main 2363 2387 +24 dhcprelay_main 1145 1146 +1 dhcprelay_stopflag 4 1 -3 dhcprelay_signal_handler 11 8 -3 client_background 46 42 -4 udhcp_read_interface 230 211 -19 udhcp_make_pidfile 76 - -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 3/4 up/down: 62/-105) Total: -43 bytes text data bss dec hex filename 770052 1096 11228 782376 bf028 busybox_old 769980 1096 11228 782304 befe0 busybox_unstripped
2007-08-02ttysize: new applet. +200 bytesDenis Vlasenko
2007-08-02start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>Denis Vlasenko
dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug
2007-08-01patch: fix bad line ending handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>)Denis Vlasenko
2007-07-31start_stop_daemon: NOMMU fix; smaller fixesDenis Vlasenko
2007-07-30addgroup: "disallow addgroup -g num user group"; make -g 0 workDenis Vlasenko
(Tito <farmatito@tiscali.it>)
2007-07-30dd: use unsigned printf specifier for # of blocksDenis Vlasenko
2007-07-29dd: fix newly introduced bug (introduced by me)Denis Vlasenko
2007-07-29interface.c: code shrink (IIRC ~30 bytes)Denis Vlasenko
2007-07-29ash: comment non-obvious code partDenis Vlasenko
2007-07-27fix for suffix optimization (which was in previous commit)Denis Vlasenko
2007-07-27multiplier suffixes are short, store them directly in struct suffix_multDenis Vlasenko
function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped
2007-07-27dd: fix bug where we assume count=INT_MAX when count is unspecified;Denis Vlasenko
shrink dd while at it function old new delta dd_main 1453 1368 -85 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-85) Total: -85 bytes text data bss dec hex filename 669216 2668 13616 685500 a75bc busybox_old 669128 2668 13616 685412 a7564 busybox_unstripped
2007-07-27passwd: fix bug: we are trying to update shadow even if user's record is in ↵Denis Vlasenko
passwd! getspnam is guilty, it lies that user record exists in shadow.
2007-07-27bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one;Denis Vlasenko
comment thoroughly when they die and when they dont.
2007-07-26cal: small code shrinkDenis Vlasenko
2007-07-25setfiles: small code size reduction (Yuichi Nakamura <ynakam@hitachisoft.jp>)Denis Vlasenko
2007-07-25ps: fix non-desktop ps -ww -- thanks rockeychuDenis Vlasenko
2007-07-25getopt32: fix getopt32 breakage (forgot to memset(0) it) -- thanks rockeychuDenis Vlasenko
2007-07-24Replace 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-24od: shrink a bitDenis Vlasenko
verbose 12 13 +1 open_next_file 102 99 -3 limit_bytes_to_format 4 1 -3 ioerror 4 1 -3 flag_pseudo_start 4 1 -3 flag_dump_strings 4 1 -3 abbreviate_duplicate_blocks 4 - -4 check_and_close 96 90 -6 od_main 2988 2955 -33 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/7 up/down: 1/-58) Total: -57 bytes text data bss dec hex filename 781314 1328 11876 794518 c1f96 busybox_old 781266 1328 11844 794438 c1f46 busybox_unstripped
2007-07-24setfiles: small tweaks to usage text and codeDenis Vlasenko
2007-07-23zcip: remove stray seed48. It's the only thing which was pulling inDenis Vlasenko
rand48 machinery: zcip_main 1552 1537 -15 seed48 22 - -22 __libc_drand48_data 24 - -24 seed48_r 78 - -78 __GI_seed48_r 78 - -78 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 0/1 up/down: 0/-217) Total: -217 bytes
2007-07-23add comment why preferred stack boundary is 4 on i386Denis Vlasenko
2007-07-23chpasswd: rename long options definition to match other applets. no code changesDenis Vlasenko
2007-07-23getopt32 must remain NOFORK-safe (no mallocs!). Using alloca and pretendingDenis Vlasenko
stack is infinite. Unfortunately, +79 bytes.
2007-07-23rework long option handling. saves ~1.2kDenis Vlasenko
function old new delta tar_longopts - 222 +222 static.udhcpc_longopts - 192 +192 start_stop_daemon_longopts - 150 +150 getopt32 1045 1185 +140 static.wget_longopts - 111 +111 static.od_longopts - 105 +105 getopt_longopts - 96 +96 install_longopts - 67 +67 ipcalc_longopts - 63 +63 static.hwclock_longopts - 54 +54 ftpgetput_longopts - 52 +52 static.dumpleases_longopts - 32 +32 env_longopts - 31 +31 runparts_longopts - 30 +30 mv_longopts - 24 +24 mkdir_longopts - 19 +19 find_pair 164 180 +16 bb_null_long_options - 16 +16 setconsole_longopts - 10 +10 display_speed 91 98 +7 collect_blk 467 474 +7 show_color 4 1 -3 ls_main 913 904 -9 bb_default_long_options 16 - -16 ls_color_opt 32 10 -22 setconsole_long_options 32 - -32 arith 2077 2030 -47 mv_long_options 48 - -48 mkdir_long_options 48 - -48 env_long_options 48 - -48 static.options 248 184 -64 runparts_long_options 80 - -80 ftpgetput_long_options 96 - -96 static.hwclock_long_options 112 - -112 install_long_options 112 - -112 static.long_options 144 - -144 static.wget_long_options 160 - -160 longopts 160 - -160 static.arg_options 304 - -304 tar_long_options 320 - -320 long_options 384 - -384 ------------------------------------------------------------------------------ (add/remove: 17/15 grow/shrink: 4/5 up/down: 1444/-2209) Total: -765 bytes text data bss dec hex filename 782618 1328 11900 795846 c24c6 busybox_old 781354 1328 11900 794582 c1fd6 busybox_unstripped
2007-07-23setiles: cosmetics, no real code changesDenis Vlasenko
2007-07-23setfiles,restorecon: new SELinux applets by Yuichi Nakamura ↵Denis Vlasenko
<ynakam@hitachisoft.jp>
2007-07-21chpasswd: fix indentationDenis Vlasenko
2007-07-21style fix (stray space before ';')Denis Vlasenko
2007-07-21fix typo in last commitDenis Vlasenko
2007-07-21Three patches from FreeWRT peopleDenis Vlasenko
2007-07-21chpasswd: fixes for shadow password handlingDenis Vlasenko
2007-07-21libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko
find_pair 164 180 +16 passwd_main 1222 1230 +8 display_speed 91 96 +5 msh_main 1335 1339 +4 qrealloc 38 36 -2 refresh 1190 1182 -8 cut_main 543 532 -11 sendCgi 1807 1794 -13 getopt32 1063 1045 -18 arith 2077 2030 -47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/6 up/down: 33/-99) Total: -66 bytes text data bss dec hex filename 781548 1168 11900 794616 c1ff8 busybox_old 781452 1168 11900 794520 c1f98 busybox_unstripped
2007-07-21chpasswd: fixes and code shrinkDenis Vlasenko
update_passwd 732 734 +2 chpasswd_main 318 292 -26 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-26) Total: -24 bytes text data bss dec hex filename 781564 1168 11900 794632 c2008 busybox_old 781548 1168 11900 794616 c1ff8 busybox_unstripped
2007-07-20chpasswd: now with svn addDenis Vlasenko
2007-07-20chpasswd: new applet by Alexander Shishkin <virtuoso@slind.org>Denis Vlasenko
2007-07-19stray trailing tabs removedDenis Vlasenko
2007-07-19ifup/ifdown: make location of ifstate configurableDenis Vlasenko
2007-07-18vi: comment out dead codeDenis Vlasenko
2007-07-18Trim help text. With compressed help: -143 bytesDenis Vlasenko
text data bss dec hex filename 772572 1168 22680 796420 c2704 busybox_old 772444 1168 22680 796292 c2684 busybox_unstripped
2007-07-18ash: fix SEGV in forkchild (jp can be NULL). here documents were affected.Denis Vlasenko
2007-07-18fix unpacker testsuite to match actual outputDenis Vlasenko