aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* find: trim help text a bitDenys Vlasenko2011-02-121-8/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: remove the hack we use to parse options first, replace with simpler codeDenys Vlasenko2011-02-121-121/+91
| | | | | | | | | | | | | | | | | text data bss dec hex filename 867764 438 7552 875754 d5cea busybox_old 867629 438 7552 875619 d5c63 busybox_unstripped function old new delta parse_params 1377 1440 +63 static.params 151 192 +41 static.options 42 57 +15 fileAction 151 153 +2 find_main 466 267 -199 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 121/-199) Total: -78 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: print/print0/prune _can_ be inverted, fix itDenys Vlasenko2011-02-121-106/+101
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: document ! (not) operatorDenys Vlasenko2011-02-121-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: help text: PATH must be firstDenys Vlasenko2011-02-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: yet another tweak to help textDenys Vlasenko2011-02-121-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: fix help text about -prune: it also does assume -printDenys Vlasenko2011-02-121-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: significantly improve hext text. +116 bytesDenys Vlasenko2011-02-121-49/+56
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2011-02-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: display 100% at the _end_ of chunked downloadDenys Vlasenko2011-02-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: chunked mode fix. Closes bug 3229Denys Vlasenko2011-02-111-10/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: explain clearerr more clearlyDenys Vlasenko2011-02-111-1/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: correctly handle rare case when we get EAGAIN _on first_ readDenys Vlasenko2011-02-111-6/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* progress meter: fix bugs found in stall detection and unknown size logicDenys Vlasenko2011-02-113-26/+36
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* progress meter: move file name to bb_progress_t. +20 bytesDenys Vlasenko2011-02-114-23/+27
| | | | | | We were doing expensive unicode conversion on every update Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/progress.c: make sure we never get negative ETADenys Vlasenko2011-02-111-16/+17
| | | | | | | function old new delta bb_progress_update 738 733 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* progress meter: display >999 hours ETA correctlyDenys Vlasenko2011-02-101-4/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: shrink progress meter code; strink wget and add debug loggingDenys Vlasenko2011-02-102-64/+105
| | | | | | | | | | | | | | function old new delta fgets_and_trim - 73 +73 retrieve_file_data 367 349 -18 bb_progress_update 723 699 -24 wget_main 2220 2190 -30 ftpcmd 133 87 -46 gethdr 200 153 -47 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/5 up/down: 73/-165) Total: -92 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* progress bar: better overflow protection; more precise barDenys Vlasenko2011-02-102-25/+34
| | | | | | | function old new delta bb_progress_update 639 749 +110 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: use closed HTTP/1.1 connection, stop when we dl'ed $content_len bytesDenys Vlasenko2011-02-101-8/+19
| | | | | | | function old new delta retrieve_file_data 353 367 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remve erroneous dependensies on INSTALLERDenys Vlasenko2011-02-101-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty config help: fix example scriptDenys Vlasenko2011-02-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: extend its config helpDenys Vlasenko2011-02-101-1/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* reset: "ESC(K" selects German, why do we use THAT? Change to "ESC(B" (US)Denys Vlasenko2011-02-101-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* save 10 bytes on stringsDenys Vlasenko2011-02-102-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: remove functions which retry on EINTRDenys Vlasenko2011-02-101-3/+5
| | | | | | | | | | function old new delta retrieve_file_data 392 353 -39 safe_fgets 58 - -58 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-97) Total: -97 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix trivial build failureDenys Vlasenko2011-02-101-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: use FEATURE_COPYBUF_KB-sized buffer. Much faster for local transfersDenys Vlasenko2011-02-102-61/+62
| | | | | | | | | | | | | | | function old new delta base64enc - 53 +53 gethdr 190 200 +10 ftpcmd 129 133 +4 progress_meter 160 122 -38 retrieve_file_data 431 392 -39 base64enc_512 46 - -46 wget_main 2456 2220 -236 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/3 up/down: 67/-359) Total: -292 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tc: less ugly check for bad sizeof(G)Denys Vlasenko2011-02-101-6/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* iproute: fix handling of "dev IFACE" selectorDenys Vlasenko2011-02-092-14/+25
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/mkconfigs: don't use invalid basic regexpDenys Vlasenko2011-02-091-1/+1
| | | | | | \? are GNU extension and thus are non-standard Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use unistd.h before _POSIX_VERSIONDenys Vlasenko2011-02-082-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix TMOUT not restoring tty attributesDenys Vlasenko2011-02-086-61/+39
| | | | | | | | | | | | | | | | | | | | | | | | | function old new delta pgetc 420 500 +80 readtoken1 3202 3239 +37 read_line_input 3316 3337 +21 udhcpc_main 2610 2630 +20 file_get 266 272 +6 expandarg 958 963 +5 localcmd 257 259 +2 addLines 85 87 +2 read_line 94 95 +1 ed_main 2540 2541 +1 timed_out 1 - -1 lineedit_read_key 256 255 -1 alrm_sighandler 44 - -44 cmdloop 539 434 -105 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 10/2 up/down: 175/-151) Total: 24 bytes text data bss dec hex filename 887379 936 17200 905515 dd12b busybox_old 887411 936 17192 905539 dd143 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* incorporate header fixes proposed in bug 3097Denys Vlasenko2011-02-072-1/+4
| | | | | | Not sure these are *really* needed, but I suppose they don't hurt Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/kconfig/mconf.c: stop-gap fix for buffer overflowDenys Vlasenko2011-02-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* echo: do not retry on write errorsDenys Vlasenko2011-02-077-40/+74
| | | | | | | | | | | | | function old new delta echo_main 297 336 +39 stpcpy - 22 +22 run_pipe 1561 1566 +5 pseudo_exec_argv 187 192 +5 hush_exit 75 80 +5 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 4/0 up/down: 98/0) Total: 76 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2011-02-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix a bug where autodetection messes up -z on extractDenys Vlasenko2011-02-064-14/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* runlevel/wall: depend on utmp featureMike Frysinger2011-02-061-0/+2
| | | | | | | | These utils use funcs from utmp.h (like setutent), but utmp.h is only included when FEATURE_UTMP is enabled. Otherwise we get build failures due to missing defines/prototypes. So depend on this option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* udhcpc: fix a problem with binary-encoded optionsDenys Vlasenko2011-02-061-1/+1
| | | | | | | function old new delta attach_option 395 413 +18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping: trivial simplification. -2 bytesDenys Vlasenko2011-02-061-4/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping: fix IPv6 pinging. Closes bug 3187Denys Vlasenko2011-02-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Let fbsplash display images even when a second buffer is activeDan Fandrich2011-02-051-1/+4
| | | | | | | | | If a previous application uses double buffering and makes the second buffer visible, fbsplash's images (written to the first buffer) otherwise won't be visible. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ubimkvol,ubirmvol,ubirsvol: new appletsReuben Dowle2011-02-051-18/+136
| | | | | | | | | | | | | | | | | function old new delta ubi_tools_main - 658 +658 packed_usage 28269 28376 +107 bbconfig_config_bz2 4968 5007 +39 applet_names 2407 2434 +27 applet_main 1396 1408 +12 applet_nameofs 698 704 +6 applet_install_loc 175 176 +1 ubi_attach_detach_main 175 - -175 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 6/0 up/down: 850/-175) Total: 675 bytes Signed-off-by: Reuben Dowle <reuben.dowle at navico.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: optional support for $TMOUT variableDenys Vlasenko2011-02-042-1/+50
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: cosmetic cleanupsDenys Vlasenko2011-02-041-13/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: spawn should remove child which failed to execDenys Vlasenko2011-02-031-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: support -T - and -X -Denys Vlasenko2011-02-031-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2011-02-0313-21/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move nofork_save_area from libbb.h to vfork_daemon_rexec.cDenys Vlasenko2011-02-023-41/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>