summaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* pgrep,pkill: new applets by Loic Grenie <loic.grenie@gmail.com>Denis Vlasenko2007-09-292-1/+25
|
* xrealloc_getcwd_or_warn: smaller cod and less wasted RAM at run timeDenis Vlasenko2007-09-291-17/+14
|
* remove if() which is always trueDenis Vlasenko2007-09-291-2/+1
|
* more "if (p) free(p)" fixes; fix a typo in commentDenis Vlasenko2007-09-282-13/+7
|
* remove stray semicolonDenis Vlasenko2007-09-281-1/+1
|
* libbb: make const_int_0 reside in rodataDenis Vlasenko2007-09-271-1/+3
|
* libbb: align bb_common_bufsiz1 to "long long"Denis Vlasenko2007-09-271-1/+4
|
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-273-9/+17
|
* lineedit: plug memory leakDenis Vlasenko2007-09-271-5/+12
|
* introduce safe_poll (fixes a problem in top)Denis Vlasenko2007-09-273-1/+36
| | | | | | | | | | | | | | | | | | | | function old new delta safe_poll - 77 +77 svlogd_main 1470 1466 -4 zcip_main 1530 1524 -6 forkexec 1345 1338 -7 decode_format_string 795 788 -7 collect_blk 474 467 -7 buffer_pread 540 532 -8 tftp 1182 1172 -10 microcom_main 763 749 -14 arpping 441 424 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/9 up/down: 77/-80) Total: -3 bytes text data bss dec hex filename 770162 1034 10404 781600 bed20 busybox_old 770158 1034 10404 781596 bed1c busybox_unstripped
* documentation bits in comments, no code changesDenis Vlasenko2007-09-252-1/+6
|
* *: kill bb_get_last_path_component, replace with two functionsDenis Vlasenko2007-09-242-17/+27
| | | | | | | | | (one which strips trailing slash and one which does not) wget: straighten out as a result of above change text data bss dec hex filename 5056 1 0 5057 13c1 busybox.t4/networking/wget.o 5022 0 0 5022 139e busybox.t5/networking/wget.o
* cp: make it a bit closer to POSIX, but still refuse to open andDenis Vlasenko2007-09-111-5/+7
| | | | | write to dest which is a symlink.
* cp: make "cp file /dev/node" special case; explained in commentsDenis Vlasenko2007-09-111-7/+15
| | | | | | | | | | | function old new delta copy_file 1487 1538 +51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 51/0) Total: 51 bytes text data bss dec hex filename 772502 1051 10724 784277 bf795 busybox_old 772554 1051 10724 784329 bf7c9 busybox_unstripped
* run_shell: code shrink for selinuxDenis Vlasenko2007-09-101-7/+5
|
* setup_environment: code shrinkDenis Vlasenko2007-09-101-13/+12
| | | | | | | | | | | | | | | | | | | | run_shell: mark as NORETURN setup_environment, run_shell: add usage comments login: add FIXME :( function old new delta UNSPEC_print 64 66 +2 sulogin_main 509 506 -3 mkfs_minix_main 3070 3067 -3 login_main 1615 1612 -3 su_main 461 448 -13 setup_environment 261 206 -55 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/5 up/down: 2/-77) Total: -75 bytes text data bss dec hex filename 772578 1051 10724 784353 bf7e1 busybox_old 772502 1051 10724 784277 bf795 busybox_unstripped
* top: TOPMEM feature - 's(how sizes)' command. +2.5k when enabled,Denis Vlasenko2007-09-081-0/+73
| | | | | | +80 bytes when disabled (mainly because of text wrapping fixes in display_process_list).
* messages: by popular request allow PATH to be customized at build timeDenis Vlasenko2007-09-071-7/+16
| | | | | mount: smallish code shrink
* busybox --install -s: prevent puzzling "/bin/busybox: Invalid argument" messageDenis Vlasenko2007-09-051-6/+16
| | | | | libbb: comment out realpath, add readlink which doesn't warn
* smart_ulltoa5: emit small letters k,m,g... - makes topDenis Vlasenko2007-08-281-1/+2
| | | | | more readable
* top: use poll instead of select for waiting on one descriptorDenis Vlasenko2007-08-281-18/+28
| | | | | | | | | | | | | | | | | | | | | smart_ulltoa5: make it more cryptic. -50 bytes. function old new delta passwd_main 1095 1103 +8 getNum 557 565 +8 buffer_fill_and_print 73 76 +3 udhcpc_main 2393 2395 +2 mkfs_minix_main 3071 3070 -1 dname_enc 377 373 -4 expmeta 480 472 -8 smart_ulltoa5 334 283 -51 top_main 911 815 -96 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/5 up/down: 21/-160) Total: -139 bytes text data bss dec hex filename 770872 1063 10788 782723 bf183 busybox_old 770732 1063 10788 782583 bf0f7 busybox_unstripped
* cp: fix recursion check to not waste bytes remembering names of dirsDenis Vlasenko2007-08-271-6/+5
|
* cp: detect and prevent infinite recursionDenis Vlasenko2007-08-271-17/+35
|
* ps: fix RSS parsing (rss field in /proc/PID/stat is in pages, not bytes)Denis Vlasenko2007-08-261-4/+15
|
* make copy_file() a bit easier to understand, and smallerDenis Vlasenko2007-08-252-69/+66
| | | | | | | | | | | function old new delta copy_file 1565 1447 -118 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-118) Total: -118 bytes text data bss dec hex filename 770938 1063 10788 782789 bf1c5 busybox_old 770814 1063 10788 782665 bf149 busybox_unstripped
* support "#!/bin/busybox"-style wrappers. Needed for SELinux.Denis Vlasenko2007-08-251-1/+1
| | | | | Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
* cp,mv: simpler arg[cv] handling -> smallish code savingsDenis Vlasenko2007-08-241-5/+6
|
* cp: make POSIX-me-harder mode complain with a bit less insane messageDenis Vlasenko2007-08-241-7/+8
|
* libbb,crond,lash: fix getopt32 (don't know how it managed to slip through)Denis Vlasenko2007-08-191-2/+2
| | | | | *: fcntl(fd, F_GETFL) doesn't require third parameter at all.
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-13/+18
| | | | | | | | (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
* make standalone httpd work on NOMMU machinesDenis Vlasenko2007-08-181-5/+10
|
* introduce and use xdup2(int, int)Denis Vlasenko2007-08-182-16/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop checking whether setsockopt_reuseaddr(int fd) was successful (it always is) remove second parameter (sockllen) from xmalloc_sockaddr2xxxxx functions sockaddr2str 142 156 +14 collect_blk 467 474 +7 xdup2 28 33 +5 singlemount 4456 4454 -2 print_host 214 212 -2 nslookup_main 139 137 -2 ftpgetput_main 414 412 -2 udhcpd_main 1258 1255 -3 udhcpc_main 2405 2402 -3 traceroute_main 4125 4122 -3 nc_main 1072 1069 -3 buffer_fill_and_print 76 73 -3 xmalloc_sockaddr2hostonly_noport 18 14 -4 xmalloc_sockaddr2host_noport 18 14 -4 xmalloc_sockaddr2host 15 11 -4 xmalloc_sockaddr2dotted_noport 18 14 -4 xmalloc_sockaddr2dotted 18 14 -4 wget_main 2618 2614 -4 ping_main 393 389 -4 ip_port_str 120 115 -5 dhcprelay_main 1146 1141 -5 dnsd_main 1531 1525 -6 passwd_main 1110 1102 -8 udhcp_kernel_packet 206 197 -9 udhcp_listen_socket 154 144 -10 getty_main 2576 2566 -10 setup 655 640 -15 xmove_fd 51 34 -17 dolisten 759 742 -17 tcpudpsvd_main 1866 1836 -30 startservice 339 299 -40
* httpd shring and logging update, part 1 or 7Denis Vlasenko2007-08-171-26/+100
| | | | | | | | | | | | | text data bss dec hex filename 9836 0 0 9836 266c busybox.t1/networking/httpd.o.orig 9724 0 0 9724 25fc busybox.t2/networking/httpd.o 9657 0 0 9657 25b9 busybox.t3/networking/httpd.o 9342 0 0 9342 247e busybox.t4/networking/httpd.o 9342 0 0 9342 247e busybox.t5/networking/httpd.o 9262 0 0 9262 242e busybox.t6/networking/httpd.o 9283 0 0 9283 2443 busybox.t7/networking/httpd.o 9334 0 0 9334 2476 busybox.t8/networking/httpd.o
* hdparm: shrink rodata by ~250 bytesDenis Vlasenko2007-08-161-1/+1
|
* whitespace fixes, no code changesDenis Vlasenko2007-08-161-8/+8
|
* v[hp]error_msg have 2-3 callsites only -> incorporate there.Denis Vlasenko2007-08-158-44/+6
|
* if pidfile turned out to be !regular file, do not unlink it.Denis Vlasenko2007-08-151-8/+16
| | | | | It's most probably the /dev/null.
* httpd: add -v[v]: prints client addresses, HTTP codes returned [and URLs]Denis Vlasenko2007-08-141-5/+7
| | | | | | | | | | | | | | | get_line - 70 +70 packed_usage 22811 22863 +52 handle_incoming_and_exit 2246 2277 +31 httpd_main 1141 1155 +14 sendHeaders 489 482 -7 getLine 77 - -77 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 3/1 up/down: 167/-84) Total: 83 bytes text data bss dec hex filename 774335 1058 11092 786485 c0035 busybox_old 774447 1058 11092 786597 c00a5 busybox_unstripped
* trylink: automatically use custom link script if user provides oneDenis Vlasenko2007-08-143-28/+12
| | | | | | vinfo_msg: one user (info_msg), incorporate in it *: style fixes
* expand, unexpand: new applets from Tito <farmatito@tiscali.it>Denis Vlasenko2007-08-131-1/+1
|
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-134-9/+9
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-1212-53/+53
| | | | | | | | | 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
* httpd: fix CGI handling bug (we were closing wrong fd).Denis Vlasenko2007-08-111-1/+1
|
* ls,ps,watch: measure terminal width on fd 0, not 1Denis Vlasenko2007-08-091-1/+1
|
* stat: fix option -Z segv (bug 1454)Denis Vlasenko2007-08-091-1/+1
|
* bb_uudecode: now this is the more thorough fix... I hope...Denis Vlasenko2007-08-061-2/+2
|
* bb_uuencode: fix obscure case where we were using data past last byte of sourceDenis Vlasenko2007-08-061-16/+22
| | | | | | | | | | | | (fixes testsuite failure) bb_uuencode 154 160 +6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 6/0) Total: 6 bytes text data bss dec hex filename 770284 1096 11228 782608 bf110 busybox_old 770288 1096 11228 782612 bf114 busybox_unstripped
* mount: print errno on NFS error (again)Denis Vlasenko2007-08-033-5/+14
|
* udhcp: slight shrinkDenis Vlasenko2007-08-021-1/+3
| | | | | | | | | | | | | | | | | 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
* start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>Denis Vlasenko2007-08-021-2/+3
| | | | | dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug