aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* ash,hush: optional support for $HISTFILESIZE.Denys Vlasenko2011-03-316-21/+55
| | | | | | | | | | | | | Based on patch from Alexey Fomenko (ext-alexey.fomenko AT nokia.com) function old new delta size_from_HISTFILESIZE - 44 +44 hush_main 998 1025 +27 ash_main 1348 1374 +26 read_line_input 3361 3372 +11 new_line_input_t 17 24 +7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: remove outdated commentsDenys Vlasenko2011-03-301-5/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix source1.testsDenys Vlasenko2011-03-301-27/+37
| | | | | | | | | | | | | function old new delta parse_and_run_stream 95 139 +44 static_get 22 25 +3 file_get 260 263 +3 builtin_umask 133 132 -1 parse_stream 2442 2425 -17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 50/-18) Total: 32 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbsplash: Add support for 24 and 32 bit color depthNuno Lucas2011-03-281-44/+73
| | | | | | | | | | | | | | function old new delta fb_drawprogressbar 372 447 +75 fb_pixel_value - 50 +50 fb_write_pixel - 47 +47 fbsplash_main 889 920 +31 fb_drawfullrectangle 101 131 +30 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/0 up/down: 233/0) Total: 233 bytes Signed-off-by: Nuno Lucas <ntlucas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move help text from include/usage.src.h to console-tools/*.cPere Orga2011-03-2816-111/+119
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* applet_tables: do not include libbb.h, that header ir for target buildsDenys Vlasenko2011-03-283-25/+40
| | | | | | ...and applets/applet_tables.c is built on *host*. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mesg: operate on stdin, not on stderr (compat)Denys Vlasenko2011-03-281-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* httpd: don't send error messages with gzip encodingPeter Korsgaard2011-03-271-0/+1
| | | | | | | | | | | If CONFIG_FEATURE_HTTPD_GZIP is enabled and request contained 'Accept-Encoding: gzip', then errors were sent with 'Content-Encoding: gzip' even though they aren't. Fix it by clearing content_gzip before sending the headers. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: optimize diffing of files with the same metadataRoman Borisov2011-03-271-0/+25
| | | | | Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move help text from include/usage.src.h to archival/*.cPere Orga2011-03-2711-210/+215
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: --post-data=STR should not encode STR, should send it verbatimVitaly Magerya2011-03-271-41/+1
| | | | | | | This matches GNU Wget 1.12 behavior. Signed-off-by: Vitaly Magerya <vmagerya@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pstree: fix "warning: 'handle_thread' defined but not used"Denys Vlasenko2011-03-271-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fixes for CONFIG_UNICODE_USING_LOCALE=yDenys Vlasenko2011-03-272-48/+66
| | | | | | | | | | | | | function old new delta load_string 45 91 +46 save_string 40 82 +42 reinit_unicode 34 61 +27 BB_PUTCHAR 97 120 +23 init_unicode 17 37 +20 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/0 up/down: 158/0) Total: 158 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: add --rbind option supportRoman Borisov2011-03-262-1/+3
| | | | | Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: rprivate option fixRoman Borisov2011-03-261-1/+1
| | | | | | | fixed the mistake in writing for -make-rprivate option Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: document a bug about aborting on sourced file error when non-interactiveDenys Vlasenko2011-03-242-0/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: make parse errors in sourced file non-fatal in interactive scriptDenys Vlasenko2011-03-241-45/+52
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix a case where return in sourced file has no effectDenys Vlasenko2011-03-243-0/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: recheck LANG before every line inputDenys Vlasenko2011-03-234-28/+52
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* don't call freeaddinfo(NULL)Vitaly Magerya2011-03-223-11/+14
| | | | | Signed-off-by: Vitaly Magerya <vmagerya@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* login: set PAM RHOSTRyan Phillips2011-03-221-0/+8
| | | | | Signed-off-by: Ryan Phillips <ryan@trolocsis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dd: free allocated memory if CLEANUP enabledAlexey Soloviev2011-03-221-0/+6
| | | | | Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mesg: make group/all writability configurableDenys Vlasenko2011-03-221-25/+35
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ln: explain why we use xstrdupDenys Vlasenko2011-03-211-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* init: fix a case where execv's 1st arg was wrongDenys Vlasenko2011-03-211-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: move help text to .c fileDenys Vlasenko2011-03-212-25/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix fname_out usage wrt redirectsDenys Vlasenko2011-03-211-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: add a test for bind+rsharedDenys Vlasenko2011-03-141-1/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pwdx: new appletPere Orga2011-03-121-0/+60
| | | | | | | | | | | | | | | function old new delta pwdx_main - 197 +197 packed_usage 28237 28261 +24 applet_names 2391 2396 +5 applet_main 1392 1396 +4 applet_nameofs 696 698 +2 applet_install_loc 174 175 +1 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 5/0 up/down: 233/0) Total: 233 bytes Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* busybox: fail if --install is not given an absolute pathDenys Vlasenko2011-03-121-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: emit "correct" secs fieldDenys Vlasenko2011-03-122-0/+17
| | | | | | | | | | | | | In theory, sending secs set to constant zero should be ok too. But some bleeping servers can actually be configured to answer ONLY if secs is bigger than a preset value (!!) http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/bootpd.8.html grep for "reply_threshold_seconds" function old new delta udhcpc_main 2573 2623 +50 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: fix handling of symlinks by option -1Denys Vlasenko2011-03-122-2/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: make warning go awayDenys Vlasenko2011-03-121-4/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chsum: fixPascal Bellard2011-03-111-0/+1
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* s/FAIL_DELAY/LOGIN_FAIL_DELAY/Denys Vlasenko2011-03-084-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* forgot to add libbb/get_shell_name.cDenys Vlasenko2011-03-081-0/+25
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use user's shell instead of hardwired "/bin/sh" (android needs this)Denys Vlasenko2011-03-0812-28/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printenv: fix environ == NULL segfaultDenys Vlasenko2011-03-082-4/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash/hush: shrink help textDenys Vlasenko2011-03-082-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ftpd: better usage textDenys Vlasenko2011-03-082-18/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* kill: fix infinite loop when passed PIDs are not valid numbersPere Orga2011-03-071-0/+1
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove stray empty lineDenys Vlasenko2011-03-071-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash/hush: provide help textDenys Vlasenko2011-03-072-21/+40
| | | | | | | | | | | | | | | | | | | | | | | | $ ./busybox ash --help BusyBox v1.19.0.git (2011-03-07 11:25:29 CET) multi-call binary. Usage: ash [-/+OPTCHARS] [-/+o OPTNAME]... [-c 'SCRIPT' [ARG0 [ARGS]] / SCRIPT_FILE [ARGS]] Unix shell interpreter $ ./busybox hush --help BusyBox v1.19.0.git (2011-03-07 11:25:29 CET) multi-call binary. Usage: hush [-nx] [-c 'SCRIPT' [ARG0 [ARGS]] / SCRIPT_FILE [ARGS]] Unix shell interpreter function old new delta packed_usage 28163 28212 +49 setcmd 85 78 -7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 49/-7) Total: 42 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix execution of shell scripts without shebangDenys Vlasenko2011-03-071-10/+19
| | | | | | We were assuming #!/bin/sh, whereas we had to simply re-enter ash. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* klogd: fix the problem of delayed handling of ^C and SIGTERMDenys Vlasenko2011-03-071-1/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: add -B optionKeith Young2011-03-071-59/+69
| | | | | | | | | | | | | function old new delta udhcpc_longopts - 262 +262 add_client_options 218 239 +21 packed_usage 28149 28163 +14 static.udhcpc_longopts 250 - -250 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/0 up/down: 297/-250) Total: 47 bytes Signed-off-by: Keith Young <stripydog7@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more: fix tabs handlingDenys Vlasenko2011-03-071-3/+6
| | | | | | | function old new delta more_main 837 829 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bit rot in scripts/Makefile.IMA #2Denys Vlasenko2011-03-062-9/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bit rot in scripts/Makefile.IMADenys Vlasenko2011-03-062-3/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* .gitignore: add missing ignoresBjørn Forsman2011-03-063-0/+6
| | | | | | | Ignore output files created by "make defconfig; make". Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>