aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* top: implement scrolling up/down (_very_ useful)Gravatar Denys Vlasenko2012-09-212-74/+110
| | | | | | | | | | | | | function old new delta handle_input 494 564 +70 top_main 928 947 +19 display_topmem_process_list 363 381 +18 display_process_list 1442 1453 +11 clearmems 38 28 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 118/-10) Total: 108 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ushcpc: gracefully handle packets with CHECKSUM_PARTIALGravatar Alexey Froloff2012-09-171-8/+49
| | | | | | | | | | | function old new delta udhcp_recv_raw_packet 415 579 +164 change_listen_mode 317 370 +53 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 217/0) Total: 217 bytes Signed-off-by: Alexey Froloff <raorn@raorn.name> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnet: convert Enter -> CR LF in line mode tooGravatar Denys Vlasenko2012-09-171-11/+18
| | | | | | | function old new delta handle_net_output 87 98 +11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnet: shrink literal string sizeGravatar Denys Vlasenko2012-09-171-4/+4
| | | | | | | | text data bss dec hex filename 888483 497 7584 896564 dae34 busybox_old 888450 497 7584 896531 dae13 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnet: convert CR -> CR LF, not CR -> CR NUL when sending data to serverGravatar Denys Vlasenko2012-09-132-17/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbsplash: support non-RGB565 pixels in 16-bit modeGravatar Linus Walleij2012-09-061-5/+22
| | | | | | | | | function old new delta fbsplash_main 953 989 +36 fb_pixel_value 80 110 +30 Signed-off-by: Linus Walleij <triad@df.lth.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: make -mindepth N -xdev correctly stop on mountpointsGravatar Denys Vlasenko2012-09-061-14/+21
| | | | | | | function old new delta fileAction 153 193 +40 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix "read -s" + ^C. Closes 5504Gravatar Denys Vlasenko2012-09-062-1/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: fix "last CPU" parsingGravatar Denys Vlasenko2012-09-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sysctl: implement -qGravatar Joshua Kahlenberg2012-09-051-13/+19
| | | | | | | | | | function old new delta packed_usage 29208 29223 +15 sysctl_act_recursive 605 598 -7 sysctl_main 233 222 -11 Signed-off-by: Joshua Kahlenberg <jbkberg@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* refactor correct_password.c to avoid one ifGravatar walter harms2012-09-041-6/+3
| | | | | Signed-off-by: walter harms <wharms@bfs.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: stop .eh_frame generationGravatar Denys Vlasenko2012-09-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | From Rich Felker: By default, modern GCC generates DWARF2 debug/unwind tables in the .eh_frame section of the object files/binaries. This adds significant bloat (as much as 15%) to the size of the busybox binary, including the portion mapped/loaded into memory at runtime (possibly a big issue for NOMMU targets), and the section is not strippable with the strip command due to being part of the loaded program text. I've since done some further checking - both testing and asking the GCC developers about it - and it seems the solution is to add to the CFLAGS -fno-unwind-tables and -fno-asynchronous-unwind-tables. If debugging is disabled, this will prevent GCC from outputting DWARF2 tables entirely. But since busybox builds with -g by default, the interesting case is what happens then. I originally thought these options would break debugging, but they don't; instead, they tell GCC to output the DWARF2 tables in the .debug_frame section instead of the newish .eh_frame section (used for exception handling). With these options added, busybox_unstripped is still fully debuggable, and the final busybox binary loses the 15% bloat factor from the DWARF2 tables. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: reorder fread and poll: poll only if fread returns EAGAIN. Closes 5426Gravatar Denys Vlasenko2012-09-031-52/+62
| | | | | | | function old new delta retrieve_file_data 451 427 -24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* httpd_indexcgi.c: fix compile failureGravatar Denys Vlasenko2012-09-031-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix compile failure in ll_proto.cGravatar Denys Vlasenko2012-09-031-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: add support for nilfs2Gravatar Sven-Göran Bergh2012-09-025-0/+109
| | | | | | | | | function old new delta volume_id_probe_nilfs - 99 +99 fs2 52 56 +4 Signed-off-by: Sven-Göran Bergh <svengbergh-busybox@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id: code shrinkGravatar Denys Vlasenko2012-09-021-15/+19
| | | | | | | function old new delta volume_id_set_unicode16 200 173 -27 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: add type display for btrfsGravatar Sven-Göran Bergh2012-09-021-0/+1
| | | | | Signed-off-by: Sven-Göran Bergh <svengbergh-busybox@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ll_proto.c: code shrinkGravatar Denys Vlasenko2012-09-021-23/+85
| | | | | | | | text data bss dec hex filename 762 0 0 762 2fa ll_proto.o.old 526 0 0 526 20e ll_proto.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* style fixes, no code changesGravatar Denys Vlasenko2012-09-022-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: tweak style, no code changesGravatar Denys Vlasenko2012-09-021-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: try reading after poll timeout - stdio may have buffered data. Closes 5426Gravatar Denys Vlasenko2012-08-161-7/+14
| | | | | | | function old new delta retrieve_file_data 436 451 +15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: add commented-out extended error diagnosticGravatar Denys Vlasenko2012-08-161-0/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* login: increase login name size limit from 32 to 64Gravatar Denys Vlasenko2012-08-151-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp[cd]: fix binding to network aliases. Closes 5432, 5438Gravatar Denys Vlasenko2012-08-101-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fix Alt-D when cursor==0Gravatar Cliff Frey2012-08-071-3/+3
| | | | | Signed-off-by: Cliff Frey <cliff@meraki.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* platform.h: disable ALIGNn macros for s390[x]Gravatar Denys Vlasenko2012-08-061-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* disable format security warningsGravatar Mike Frysinger2012-08-041-0/+1
| | | | | | | | | | | | | | | | | | We pass strings to printf directly a lot. Some distros enable some flags in their gcc by default like -Wformat-security. With these two things, we end up with a lot of build warnings like so: loginutils/chpasswd.c:42:3: warning: format not a string literal and no format arguments [-Wformat-security] But we don't care. Our focus is first and foremost on size, so adding a lot of dummy calls like: - printf(some_constant_string); + printf("%s", some_constant_string); is pointless bloat. Disable this warning flag if the compiler supports it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* udhcpc: make -O <numeric_opt> work. Closes 5402Gravatar Denys Vlasenko2012-07-273-13/+21
| | | | | | | | | | | | | function old new delta udhcpc_main 2642 2685 +43 udhcp_recv_raw_packet 414 415 +1 d6_recv_raw_packet 248 249 +1 udhcpc6_main 2430 2413 -17 add_client_options 239 213 -26 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 45/-43) Total: 2 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Simplify copyright/license notice that appears in the binary.Gravatar Bradley M. Kuhn2012-07-261-3/+3
| | | | | | | | | | | Existing copyright notice for binary would need to be longer to achieve optimal accuracy. This compromise punts to the source for full notices, but does note the years of the copyrights and that there are many authors, all licensing under GPLv2. Signed-off-by: Bradley M. Kuhn <bkuhn@ebb.org> Signed-off-by: Tony Sebro <tony@sfconservancy.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add yet another missing ALIGN2 on a global declaration.Gravatar Denys Vlasenko2012-07-261-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dhcpd: write lease file on exitGravatar Denys Vlasenko2012-07-241-4/+4
| | | | | | | function old new delta udhcpd_main 1431 1403 -28 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: declare strings with ALIGN1, as appropriateGravatar Aurelien Jarno2012-07-241-18/+18
| | | | | Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: declare strings with ALIGN1, as appropriateGravatar Michael Tokarev2012-07-243-5/+5
| | | | | Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: make mkfs.minix test not fail spuriously on big endianGravatar Yao Zhao2012-07-241-1/+9
| | | | | Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: allow 'w' cmd to use two address formGravatar Mimi Li2012-07-241-5/+11
| | | | | | | | function old new delta add_cmd 1101 1094 -7 Signed-off-by: Mimi Li <felloak@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftpd: fix -u USER to work with chroot. Closes 5348Gravatar Denys Vlasenko2012-07-181-32/+32
| | | | | | | | function old new delta tftpd_main 546 568 +22 tftp_protocol 1844 1839 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: fix FS assignment behavior. Closes 5108Gravatar Denys Vlasenko2012-07-112-0/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ftpd: free allocated string on error pathGravatar Denys Vlasenko2012-07-111-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ftpd: fix MDTM's month value. Closes 5336Gravatar Denys Vlasenko2012-07-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: add a comment about VEXPORTGravatar Denys Vlasenko2012-07-071-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbset: respect rgba configuration lines in fb.modesGravatar Linus Walleij2012-07-071-1/+25
| | | | | | | | | | | | | | | | | | | | The fbset utility would not respect "rgba" config entries in the fb.modes file such as this (for the ARM Integrator/CP): mode "640x480-60-clcd" # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz geometry 640 480 640 480 16 timings 39722 48 16 33 10 96 2 rgba 5/10,5/5,5/0,1/15 endmode This is important especially for this ARGB5551 device which is hopeless to configure otherwise. I noticed this lacking feature after the TI "fbtest" program managed to set up the the colormode correctly. Signed-off-by: Linus Walleij <triad@df.lth.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* acpid: add missing lid switch definitionGravatar Eric Martin2012-07-071-0/+1
| | | | | | | | This patch adds a missing LID0 switch definition. Without it, closing the notebook lid is not detected by acpid. Signed-off-by: Eric Martin <eric.martin@gmx.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include sys/resource.h where neededGravatar Mike Frysinger2012-07-057-0/+7
| | | | | | | | We use functions from sys/resource.h in misc applets, but don't include the header. This breaks building with newer glibc versions, so add the include where needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* mount: support strictatime option. Closes 5240Gravatar Denys Vlasenko2012-06-261-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: make -F STR interpret escape sequences. Closes 5126Gravatar Denys Vlasenko2012-06-222-7/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324Gravatar Denys Vlasenko2012-06-223-6/+14
| | | | | | | | | | | | | While at it, fix filename order and free the list of names. function old new delta llist_rev - 21 +21 get_header_tar 1733 1741 +8 unpack_package 587 585 -2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 29/-2) Total: 27 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trivial small speed optimizationGravatar Denys Vlasenko2012-06-221-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: do not pass "comment=ANYTHING" option to kernel. Closes 5240Gravatar Denys Vlasenko2012-06-221-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: undo recent breakage when mount flags were made unsignedGravatar Denys Vlasenko2012-06-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>