aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-20busybox --list option. +140 bytes. Rob wanted it.Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-20sed: fix nested {} caseDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-19sed: fix c cmdDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-18vi: discover window size even on serial consoles. optionalDenys Vlasenko
function old new delta edit_file 671 761 +90 wh_helper - 57 +57 query_screen_dimensions 54 63 +9 ar_main 533 542 +9 refresh 767 773 +6 vi_main 242 243 +1 text_yank 56 54 -2 get_terminal_width_height 180 135 -45 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/2 up/down: 172/-47) Total: 125 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-18vi: remove superfluous check on filename == ""Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-18remove stdio from allnoconfig buildDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-16vi: code shrinkDenys Vlasenko
function old new delta vi_main 250 242 -8 colon 2980 2970 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-18) Total: -18 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-16vi: code shrink; save/restore errno in signal handlersDenys Vlasenko
function old new delta query_screen_dimensions - 54 +54 suspend_sig 50 64 +14 cont_sig 65 66 +1 catch_sig 42 32 -10 winch_sig 88 60 -28 edit_file 719 671 -48 refresh 848 767 -81 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/4 up/down: 69/-167) Total: -98 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-16add a file which shows what builds on ancient RH9 imageDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-16read_key: fix buffer length calculationTomas Heinrich
Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-15ar: fix a regression: "ar t arch.a" stopped shoting filesNguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-15httpd_indexcgi example: trivial fixDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14udhcpc: make help text betterDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14loop: correct minor device number limitDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14devmem: map two pages only if it is necessaryDenys Vlasenko
function old new delta devmem_main 463 469 +6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14mount: add an optional capability to create new /dev/loopN as neededLauri Kasanen
Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14dnsd: enforce alignment on packet bufferDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14modutils-24: [mips] modutlis-24 segfault fix for 2.4 kernel modulesRalf Rösch
handling DWARF sections solves the problem. This seems to be a long outstanding bug: http://permalink.gmane.org/gmane.linux.busybox/4533 http://www.linux-mips.org/archives/linux-mips/2004-08/msg00072.html Signed-off-by: Ralf Rösch <ralf.roesch@rw-gmbh.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14hwclock: improve, and then disable clever sync code: it's bloatDenys Vlasenko
...and hardware is too stupid to benefit from it anyway function old new delta hwclock_main 439 319 -120 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-09xargs: do not decrease orig_arg_max to negative valuesDenys Vlasenko
Based on patch by Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-09Exclude syslog code if FEATURE_SYSLOG is not setNguyễn Thái Ngọc Duy
syslog.h and syslog(...) may not exist in such configuration Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-09tar: fix "hardlinks to symlinks chown" bug 1519.Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-09tar: fix mishandling of repeated hardlink in tarball; expand testsDenys Vlasenko
function old new delta data_extract_all 727 767 +40 get_header_tar 1576 1572 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-07ipcalc: more correct checking for proper number of argumentsSteve Bennett
function old new delta ipcalc_main 581 569 -12 Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-07ps: fix non-DESKTOP option handling codeDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06hexdump: make -s 0xNNNNN workDenys Vlasenko
function old new delta hexdump_main 603 605 +2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06fix typoDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06libbb: add skip_dev_pfx()Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06init: clear utmp entries for dead processes, if they (entries) existDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06Move utmp/wtmp support to "General configuration" sectionDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06telnetd: fill hostname field in utmp/wtmp recordsDenys Vlasenko
function old new delta get_lsa - 109 +109 make_new_session 438 504 +66 get_peer_lsa - 10 +10 ftpd_main 2340 2267 -73 get_sock_lsa 101 10 -91 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/2 up/down: 185/-164) Total: 21 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06fdisk: make comment more clearDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06udhcp: s/sipservers/sipsrv/ to match other similar option namesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06fdisk: make 'b' command optionally adjust C/H/S; "fdisk IMAGE_FILE" sets ↵Denys Vlasenko
cylinders function old new delta set_hsc_start_end - 189 +189 get_boot 1644 1713 +69 fdisk_main 2620 2652 +32 get_partition_start_from_dev_start - 15 +15 get_partition_start 15 - -15 set_partition 286 120 -166 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 2/1 up/down: 305/-181) Total: 124 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06fdisk: code shrink without logic changesDenys Vlasenko
function old new delta create_doslabel 113 110 -3 set_start_sect 8 4 -4 set_nr_sects 8 4 -4 get_start_sect 8 4 -4 get_nr_sects 8 4 -4 store4_little_endian 21 - -21 read4_little_endian 33 - -33 is_cleared_partition 84 21 -63 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/6 up/down: 0/-136) Total: -136 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-06removed extra \n in fdisk help textDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-05telnetd: write LOGIN/DEAD_PROCESS utmp records. Closes bug 1363Denys Vlasenko
function old new delta write_new_utmp - 253 +253 skip_dev_pfx - 30 +30 handle_sigchld 42 72 +30 telnetd_main 1650 1673 +23 make_new_session 415 438 +23 ... login_main 1140 1148 +8 update_utmp 337 313 -24 write_wtmp 220 154 -66 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 11/6 up/down: 406/-115) Total: ~291 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-05libbb: split update_utmp from login/getty in preparation to use it for telnetdDenys Vlasenko
function old new delta update_utent - 339 +339 login_main 1498 1128 -370 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 339/-370) Total: -31 bytes function old new delta update_utmp 246 337 +91 login_main 1128 1140 +12 getty_main 1908 1918 +10 ... update_utent 339 - -339 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 5/6 up/down: 119/-368) Total: -249 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04who: fix attempts to open '/dev/dev/ttyX'; make columns a bit wider, add -HDenys Vlasenko
function old new delta who_main 292 363 +71 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04udhcpd: note missing sanity checks on INFORM message handlingDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04update examples/udhcp/udhcpd.confDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04udhcp: implement "raw" binary options. Closes bug 735Denys Vlasenko
function old new delta allocate_tempopt_if_needed - 76 +76 udhcp_str2optset 351 415 +64 attach_option 380 398 +18 len_of_option_as_string 11 12 +1 dhcp_option_lengths 11 12 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 160/0) Total: 160 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04libbb: factor out hex2bin() for infiniband address parserDenys Vlasenko
function old new delta hex2bin - 149 +149 in_ib 172 27 -145 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04udhcp: s/dhcp_option/dhcp_optflag/gDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04udhcpc: trivial shrinkDenys Vlasenko
function old new delta udhcpc_main 2801 2785 -16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04awk: add comment about fixing bug 1333Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-04awk: don't append bogus data after NUL in sub(); shrinkDenys Vlasenko
also renamed variables to more sensible names function old new delta mk_re_node 56 49 -7 awk_sub 601 591 -10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-03udhcpd: support decoding of option 120 "SIP servers". Closes bug 737Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-03cosmetic fixes, no code changedDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-03ftpd: shrink by 33 bytesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>