Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | don't pass argc in getopt32, it's superfluous | Denis Vlasenko | 2007-08-18 | 1 | -1/+1 |
| | | | | | | | | (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 | ||||
* | introduce and use xdup2(int, int) | Denis Vlasenko | 2007-08-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 1 | -1/+1 |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | ||||
* | move everything to new NOMMU helpers, except udhcp | Denis Vlasenko | 2007-03-26 | 1 | -6/+1 |
| | |||||
* | dc: use common_bufsiz1 for evaluation stack | Denis Vlasenko | 2007-03-24 | 1 | -1/+2 |
| | | | | | msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged | ||||
* | dnsd: last commit had a typo :( | Denis Vlasenko | 2007-03-24 | 1 | -2/+3 |
| | |||||
* | dnsd: fix several buglets, make smaller | Denis Vlasenko | 2007-03-24 | 1 | -63/+41 |
| | |||||
* | NOMMU re-exec trick shuld not depend on existence of "don't daemonize" | Denis Vlasenko | 2007-03-24 | 1 | -2/+2 |
| | | | | | option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too. | ||||
* | add x to IPv6 functions which can die | Denis Vlasenko | 2007-02-04 | 1 | -1/+1 |
| | |||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 1 | -0/+1 |
| | | | | no preceding prototype | ||||
* | dnsd: getfileentry was leaking memory | Denis Vlasenko | 2007-01-22 | 1 | -11/+15 |
| | | | | mount: improve readability | ||||
* | fixes for amd64 compilation | Denis Vlasenko | 2007-01-20 | 1 | -4/+5 |
| | |||||
* | next part of ipv6-ization. dnsd code is "interesting"... | Denis Vlasenko | 2007-01-12 | 1 | -72/+38 |
| | |||||
* | Trailing whitespace removal over entire tree | Denis Vlasenko | 2007-01-11 | 1 | -2/+2 |
| | |||||
* | - use xlisten/xsocket some more. Saves .25 kB | Bernhard Reutner-Fischer | 2006-12-19 | 1 | -8/+6 |
| | |||||
* | introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd), | Denis Vlasenko | 2006-11-22 | 1 | -4/+1 |
| | | | | | use them where appropriate. 200 bytes saved | ||||
* | bb_get_[chomped]line_from_file wasn't descriptive enough. | Denis Vlasenko | 2006-10-12 | 1 | -1/+1 |
| | | | | Renaming... | ||||
* | dnsd fix; option_mask32 added. dnsd needs more love. | Denis Vlasenko | 2006-10-06 | 1 | -66/+72 |
| | |||||
* | getopt_ulflags -> getopt32. | Denis Vlasenko | 2006-10-03 | 1 | -1/+1 |
| | | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. | ||||
* | Bernhard Fischer pointed out some leftover debris needing cleanup. | Rob Landley | 2006-08-15 | 1 | -1/+1 |
| | |||||
* | These should have been part of 15767 too. | Rob Landley | 2006-08-03 | 1 | -11/+5 |
| | |||||
* | - s/defined(__uClinux__)/BB_NOMMU/ | Bernhard Reutner-Fischer | 2006-05-31 | 1 | -4/+4 |
| | | | | | | | This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon(). | ||||
* | Size reductions, mostly switching things to use libbb functions. | Rob Landley | 2006-05-29 | 1 | -22/+11 |
| | |||||
* | - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten() | Bernhard Reutner-Fischer | 2006-04-12 | 1 | -3/+2 |
| | |||||
* | - patch from Denis Vlasenko to add and use bb_xdaemon() | Bernhard Reutner-Fischer | 2006-04-12 | 1 | -3/+2 |
| | |||||
* | - patch from Denis Vlasenko to add and use bb_xsocket() and to use | Bernhard Reutner-Fischer | 2006-04-12 | 1 | -2/+2 |
| | | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it. | ||||
* | - move buffer allocation schemes to libbb.h | Bernhard Reutner-Fischer | 2006-04-03 | 1 | -1/+1 |
| | | | | - include the correct headers: applets need busybox.h while lib* need libbb.h | ||||
* | Patch from Denis Vlasenko turning static const int (which gets emitted into | Rob Landley | 2006-03-10 | 1 | -7/+9 |
| | | | | the busybox binary) into enums (which don't). | ||||
* | +#include <sys/socket.h> | "Vladimir N. Oleynik" | 2006-01-25 | 1 | -237/+238 |
| | | | | | remove unused 'int i' form main whitespacing only | ||||
* | new applet. Thanks Roberto A. Foglietta | "Vladimir N. Oleynik" | 2006-01-25 | 1 | -0/+469 |