aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Apply post-1.19.1 patches, bump version to 1.19.21_19_2Denys Vlasenko2011-09-065-16/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Apply post-1.19.0 patches, bump version to 1.19.11_19_1Denys Vlasenko2011-08-2814-78/+131
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Bump version to 1.19.0, update copyright year in help message1_19_0Denys Vlasenko2011-08-132-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: fixes after randomconfig runDenys Vlasenko2011-08-112-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: fix a bug in !ENABLE_FEATURE_FIND_XDEV configDenys Vlasenko2011-08-111-1/+36
| | | | | | A subtle one: wrong pairing of "else"! Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* uptime: more compatible outputDenys Vlasenko2011-08-101-20/+20
| | | | | | | | | | | was: 12:59:35 up 1:57, 4 users, load average: 0.11, 0.20, 0.53 is: 12:59:37 up 1:57, 4 users, load average: 0.11, 0.20, 0.53 While at it, switched code to unsigned division. Based on patch by Pere Orga <gotrunks@gmail.com>. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-102-21/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-108-8/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-092-30/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove extra IF_WHO()Denys Vlasenko2011-08-091-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove extra += who.oDenys Vlasenko2011-08-091-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* df: more compatible -P behaviorRalf Friedl2011-08-091-2/+2
| | | | | | | | | | | | | In coreutils df, one of the effects of the option -P is to output everything in one line. This makes it much easier for a script to parse the output of df. This patch adds the same behavior to busybox df. function old new delta df_main 853 863 +10 Signed-off-by: Ralf Friedl <Ralf.Friedl@online.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* zcip.script: fix $ip environment variableThomas Petazzoni2011-08-091-2/+2
| | | | | | | | The environment variable containing the IP address allocated by zcip is "ip" and not "IP". Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* users: new applet.Tito Ragusa2011-08-092-35/+62
| | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* uptime: add config flag to allow displaying the number of users currently ↵Pere Orga2011-08-092-13/+31
| | | | | | | logged on Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* die_if_bad_username: tighten up a bitDenys Vlasenko2011-08-091-10/+32
| | | | | | | | | | | | | | | | | | function old new delta die_if_bad_username 77 97 +20 Based on patches from Tito. The changes are: better comments we disallow '@' now - in practice such usernames will be unusable use of the portable filename character set plus '$' don't use isalnum as it allows non-ASCII letters in legacy 8-bit locales (pointed out by Rich Felker) enforce maximum length of LOGIN_NAME_MAX (including NUL) don't allow '$', '.', and '-' as first char don't print the illegal char in error message as if it is a wide char it will be unreadable print the position of the illegal character Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix remaining known two bugs with IFS expansion. Closes 4027.Denys Vlasenko2011-08-013-30/+61
| | | | | | | | | | | | | function old new delta expand_vars_to_list 1054 1140 +86 parse_stream 2425 2479 +54 expand_on_ifs 258 310 +52 builtin_umask 133 132 -1 done_word 820 779 -41 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 192/-42) Total: 150 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: partially fix wrong expansion on $IFS (bug 4027).Denys Vlasenko2011-08-013-9/+50
| | | | | | | | | | | | | | | | In the added testcase, before patch we failed 8 out of 9 tests, now we fail only 2 (4th and 5th). function old new delta expand_on_ifs 225 258 +33 expand_vars_to_list 1038 1054 +16 o_save_ptr_helper 115 119 +4 builtin_umask 132 133 +1 o_addQstr 165 161 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 54/-4) Total: 50 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: ignore file size (assume 0) for hardlinksIan Wienand2011-07-291-3/+13
| | | | | Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: work around sysinfo.h versus linux/*.h problemsDenys Vlasenko2011-07-265-5/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tcpudp: simplify help textDenys Vlasenko2011-07-251-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: add a TODO commentDenys Vlasenko2011-07-251-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: optionally query terminal size via "ESC [ 6 n". Closes bug 2659.Denys Vlasenko2011-07-254-84/+123
| | | | | | +7 bytes is not selected, +100 if selected. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb.h: do not use homegrown struct sysinfo.Denys Vlasenko2011-07-251-19/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* android_defconfig: remove some extra cflags. untestedDenys Vlasenko2011-07-231-1/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add defconfig files for Android, Cygwin and FreeBSDDaniel Fandrich2011-07-194-0/+2995
| | | | | | | | Also added an example script to show how to compile BusyBox against Android's bionic. Signed-off-by: Daniel Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dc: fix a case where we can run off malloced spaceDenys Vlasenko2011-07-151-18/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cttyhack: fail gracefully if the device node is missingKevin Cernekee2011-07-131-1/+3
| | | | | Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cttyhack: check sysfs for the name of the active consoleKevin Cernekee2011-07-131-31/+48
| | | | | Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk: reinstate a short sleep between sync() and ioctl(BLKRRPART)Denys Vlasenko2011-07-131-25/+18
| | | | | | | | | While at it, simplify code a bit. function old new delta write_table 201 198 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/lineedit: implement optional Ctrl-R history searchDenys Vlasenko2011-07-112-12/+161
| | | | | | | | | | | function old new delta read_line_input 3433 3957 +524 load_string 77 90 +13 input_tab 1086 1069 -17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 537/-17) Total: 520 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bloat-o-meter: don't require that pythin is in /usr/bin.Lauri Kasanen2011-07-081-2/+2
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make configs/* files have _defconfig suffixDenys Vlasenko2011-07-083-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more tweak for bionicDenys Vlasenko2011-07-086-4/+65
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* usleep: do not check for usleep error, it should never failDenys Vlasenko2011-07-081-3/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* a few tweaks for bionicDenys Vlasenko2011-07-084-3/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Support configuring Busybox from _defconfig filesDaniel Fandrich2011-07-087-12/+9
| | | | | | | | | The existing test .config files are moved to configs/ and renamed to *_defconfig. 'make xyz_defconfig' will enable the configuration in that specific file. Signed-off-by: Daniel Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hwclock: use locale-specific date output formatDenys Vlasenko2011-07-081-10/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* halt: perror_msg_and_die needs bb_ prefixDenys Vlasenko2011-07-081-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixesDan Fandrich2011-07-086-7/+7
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* platform.h: tweaks for cygwinDenys Vlasenko2011-07-082-2/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hwclock: better help textDenys Vlasenko2011-07-041-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* md5/shaNsum: make -c support a list of filesLauri Kasanen2011-07-041-68/+58
| | | | | | | | function old new delta md5_sha1_sum_main 455 473 +18 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: tweak regex.h includeDenys Vlasenko2011-07-031-3/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* halt/reboot: better message if /sbin/telinit is not foundDenys Vlasenko2011-07-031-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Use the _unlocked stdio macros only when they're all availableDan Fandrich2011-06-302-21/+25
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb.h: tweak _unlocked hackDenys Vlasenko2011-06-301-36/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Use the built-in getline on more systems that don't have itDan Fandrich2011-06-301-5/+13
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* platform.c: provide getline implementationTimo Teras2011-06-292-0/+34
| | | | | Signed-off-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: fix regex search, make it selectable in configWalter Harms2011-06-274-159/+181
| | | | | | | | | | function old new delta char_search 134 214 +80 find_pair 187 169 -18 mycmp 37 - -37 Signed-off-by: Walter Harms <wharms@bfs.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>