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 | ||||
* | trylink: produce even more info about final link stage | Denis Vlasenko | 2007-08-12 | 1 | -3/+3 |
| | | | | | | | | | 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 | ||||
* | mount: print errno on NFS error (again) | Denis Vlasenko | 2007-08-03 | 1 | -14/+11 |
| | |||||
* | Replace index_in_[sub]str_array with index_in_[sub]strings, | Denis Vlasenko | 2007-07-24 | 1 | -40/+36 |
| | | | | | | | | | 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 | ||||
* | Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵ | Denis Vlasenko | 2007-06-25 | 1 | -3/+2 |
| | | | | <wharms@bfs.de>) | ||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 1 | -1/+1 |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | ||||
* | mount: fix mounting of symlinks (mount from util-linux allows that) | Denis Vlasenko | 2007-05-20 | 1 | -1/+3 |
| | |||||
* | mount: fix incorrect usage of strtok (inadvertently used NULL sometimes). | Denis Vlasenko | 2007-05-09 | 1 | -2/+1 |
| | | | | | the change is "for(xxx)...." -> "if(var) for(xxx)...", but my gcc 4.1.2 adds _158 bytes_!! WTF?? 8( | ||||
* | style fixes | Denis Vlasenko | 2007-04-13 | 1 | -3/+2 |
| | |||||
* | style fixes. No code changes | Denis Vlasenko | 2007-04-12 | 1 | -1/+1 |
| | |||||
* | add some missed statics on constant objects. | Denis Vlasenko | 2007-04-08 | 1 | -2/+2 |
| | | | | | | | | | | fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped | ||||
* | [u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>) | Denis Vlasenko | 2007-04-05 | 1 | -3/+2 |
| | |||||
* | mount: (try to) support cifs with IPv6 | Denis Vlasenko | 2007-02-04 | 1 | -13/+22 |
| | |||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 1 | -0/+1 |
| | | | | no preceding prototype | ||||
* | preparatory patch for -Wwrite-strings #3 | Denis Vlasenko | 2007-01-29 | 1 | -5/+5 |
| | |||||
* | dnsd: getfileentry was leaking memory | Denis Vlasenko | 2007-01-22 | 1 | -18/+20 |
| | | | | mount: improve readability | ||||
* | openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code | Denis Vlasenko | 2007-01-19 | 1 | -1/+1 |
| | | | | | | | | | (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize(); | ||||
* | merge post-1.3.0 fixes | Denis Vlasenko | 2006-12-26 | 1 | -0/+3 |
| | |||||
* | u_short, ulong exterminated | Denis Vlasenko | 2006-12-19 | 1 | -1/+1 |
| | | | | fdiskXXX: add a bit of sanity (not enough by far) | ||||
* | mount: add getmntent_r stub for dietlibc | Denis Vlasenko | 2006-12-18 | 1 | -1/+16 |
| | |||||
* | Closing bug 1040: | Denis Vlasenko | 2006-11-27 | 1 | -1/+1 |
| | | | | | | | The "quiet" option is quietly (hah) ignored. It should be passed through to the mount() syscall in the comma separated list of options. I found the problem with the vfat/msdos filesystems, which uses a quiet option to override some complaints and errors. | ||||
* | mount: if FILE* is NULL, it's not wise to use it. | Denis Vlasenko | 2006-11-19 | 1 | -3/+5 |
| | |||||
* | rename: compare_string_array -> index_in_str_array | Denis Vlasenko | 2006-11-05 | 1 | -3/+3 |
| | | | | | introduce index_in_substr_array and use it in iproute2 | ||||
* | mount: use switch (compare_string_array(..)) | Denis Vlasenko | 2006-10-26 | 1 | -36/+105 |
| | | | | where appropriate, saves >100 bytes. | ||||
* | use skip_whitespace where appropriate | Denis Vlasenko | 2006-10-25 | 1 | -2/+1 |
| | |||||
* | mount: support user mounts if CONFIG_DESKTOP | Denis Vlasenko | 2006-10-16 | 1 | -22/+58 |
| | |||||
* | bb_get_[chomped]line_from_file wasn't descriptive enough. | Denis Vlasenko | 2006-10-12 | 1 | -1/+1 |
| | | | | Renaming... | ||||
* | cut, mount: small improvements | Denis Vlasenko | 2006-10-12 | 1 | -10/+13 |
| | |||||
* | attempt to regularize atoi mess. | Denis Vlasenko | 2006-10-08 | 1 | -1/+1 |
| | |||||
* | bb_applet_name -> applet_name | Denis Vlasenko | 2006-10-03 | 1 | -1/+1 |
| | |||||
* | getopt_ulflags -> getopt32. | Denis Vlasenko | 2006-10-03 | 1 | -2/+2 |
| | | | | | | | | 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. | ||||
* | mount: accept and ignore -s (sloppy) option. | Denis Vlasenko | 2006-10-02 | 1 | -11/+11 |
| | | | | needed for compatibility with Linux automounter. | ||||
* | mount: fix bug 946 (mount -f should update mtab) | Denis Vlasenko | 2006-09-29 | 1 | -6/+6 |
| | |||||
* | mount: fix breakage from recent changes (spurious -ro mounts) | Denis Vlasenko | 2006-09-24 | 1 | -19/+11 |
| | |||||
* | mount: make Rob happy by reinstating #defines | Denis Vlasenko | 2006-09-21 | 1 | -4/+2 |
| | |||||
* | mount: fstabname needs to be const char* | Denis Vlasenko | 2006-09-19 | 1 | -2/+3 |
| | |||||
* | mount: fix warning (printf field width of * wants int, not size_t) | Denis Vlasenko | 2006-09-19 | 1 | -1/+1 |
| | |||||
* | whitespace cleanup | Denis Vlasenko | 2006-09-17 | 1 | -3/+3 |
| | |||||
* | mount: style fixlet | Denis Vlasenko | 2006-09-17 | 1 | -2/+4 |
| | |||||
* | mount: revert mount --bind to using "bind" as fstype. | Denis Vlasenko | 2006-09-17 | 1 | -1/+1 |
| | |||||
* | mount: mount_it_now() - char *dir is not really needed. | Denis Vlasenko | 2006-09-17 | 1 | -3/+3 |
| | |||||
* | mount: fix "duplicate mount options in mtab" bug | Denis Vlasenko | 2006-09-17 | 1 | -3/+21 |
| | |||||
* | mount: nfs_strerror's static buffer was bigger than needed. | Denis Vlasenko | 2006-09-17 | 1 | -1/+1 |
| | |||||
* | mount: getopt_ulflag'ification | Denis Vlasenko | 2006-09-17 | 1 | -38/+24 |
| | |||||
* | mount: style fixes | Denis Vlasenko | 2006-09-17 | 1 | -34/+34 |
| | |||||
* | mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr; | Denis Vlasenko | 2006-09-17 | 1 | -17/+20 |
| | | | | check for "more than 2 arguments" was actually checking for -2. | ||||
* | mount: use bb_simplify_path as appropriate | Denis Vlasenko | 2006-09-17 | 1 | -21/+13 |
| | |||||
* | mount: style fixes | Denis Vlasenko | 2006-09-17 | 1 | -21/+24 |
| | |||||
* | mount: reorder things, fix NFS-less mount. | Denis Vlasenko | 2006-09-15 | 1 | -380/+360 |
| |