Denis Vlasenko [Tue, 30 Sep 2008 22:37:29 +0000 (22:37 -0000)]
grep: fix 'echo aaa | grep -o a' + ENABLE_EXTRA_COMPAT case
by Natanael Copa
Denis Vlasenko [Tue, 30 Sep 2008 01:22:25 +0000 (01:22 -0000)]
inetd: use config parser. by Vladimir
function old new delta
reread_config_file 1092 2154 +1062
next_line 98 33 -65
next_word 197 57 -140
parse_one_line 1202 - -1202
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/2 up/down: 1062/-1407) Total: -345 bytes
Denis Vlasenko [Sun, 28 Sep 2008 23:39:18 +0000 (23:39 -0000)]
route: fix for 64-bit BE machines by Seonghun Lim (wariua AT gmail.com)
Denis Vlasenko [Sun, 28 Sep 2008 18:33:02 +0000 (18:33 -0000)]
website: announce 1.12.1 and 1.11.3
Denis Vlasenko [Sun, 28 Sep 2008 17:19:02 +0000 (17:19 -0000)]
scripts/randomtest[.loop]: add scripts for randomconfig testing
Denis Vlasenko [Sun, 28 Sep 2008 16:44:28 +0000 (16:44 -0000)]
showkey: suppress gcc warning
Denis Vlasenko [Sun, 28 Sep 2008 13:50:57 +0000 (13:50 -0000)]
sendmail: update by Vladimir
Denis Vlasenko [Sat, 27 Sep 2008 23:39:55 +0000 (23:39 -0000)]
remove redundant NULL check
Denis Vlasenko [Sat, 27 Sep 2008 14:06:06 +0000 (14:06 -0000)]
more style fixes, no code changes
Denis Vlasenko [Sat, 27 Sep 2008 14:03:25 +0000 (14:03 -0000)]
style fixes, no code changes
Denis Vlasenko [Sat, 27 Sep 2008 14:01:22 +0000 (14:01 -0000)]
sendmail: compat update by Vladimir
function old new delta
sendgetmail_main 1889 2091 +202
putchar_unlocked - 43 +43
putchar - 43 +43
packed_usage 24868 24910 +42
smtp_checkp 102 111 +9
uuencode 235 227 -8
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 3/1 up/down: 339/-8) Total: 331 bytes
Denis Vlasenko [Sat, 27 Sep 2008 01:28:56 +0000 (01:28 -0000)]
lineedit: fix problems with empty commands in history
Denis Vlasenko [Sat, 27 Sep 2008 01:05:13 +0000 (01:05 -0000)]
start_stop_daemon: accept (and ignore) -R <param>
Denis Vlasenko [Fri, 26 Sep 2008 23:45:20 +0000 (23:45 -0000)]
udhcp: add inline docs; small code shrink
function old new delta
send_packet 103 87 -16
udhcpc_main 2359 2323 -36
Denis Vlasenko [Fri, 26 Sep 2008 22:21:03 +0000 (22:21 -0000)]
udhcpc: fixlet for previous commit
Denis Vlasenko [Fri, 26 Sep 2008 16:29:12 +0000 (16:29 -0000)]
udhcp: added some FIXMEs; code shrink. -49 bytes
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 15:14:56 +0000 (15:14 -0000)]
Markus Heidelberg writes:
* document --nicelevel in Config.in
* usage: --verbose is the fancy option, not --quiet
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 14:10:17 +0000 (14:10 -0000)]
- add less -I to be able to search case-insensitively
+17b, but the helptext is quite elaborate, thus:
function old new delta
.rodata 118995 119032 +37
packed_usage 24731 24767 +36
regex_process 284 300 +16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 89/0) Total: 89 bytes
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 11:23:22 +0000 (11:23 -0000)]
- commentary typo fix
Denis Vlasenko [Fri, 26 Sep 2008 11:12:09 +0000 (11:12 -0000)]
nmeter: 4k buffers are too small for /proc files,
make them dynamically sized with 16k upper limit. +75 bytes
Denis Vlasenko [Fri, 26 Sep 2008 10:35:55 +0000 (10:35 -0000)]
libpwdgrp: make it coexist with <pwd.h>, <grp.h> and <shadow.h>.
allows to get rid of hacks in libbb.h (extra declaration of setgroups -
now it comes from grp.h as intended).
Denis Vlasenko [Fri, 26 Sep 2008 09:34:59 +0000 (09:34 -0000)]
dhcp: add FAST_FUNC as appropriate. -160 bytes.
Denis Vlasenko [Fri, 26 Sep 2008 09:34:15 +0000 (09:34 -0000)]
dhcpc: treat "discover...select...discover..." loop the same way
as "discover...discover...discover..."
Denis Vlasenko [Thu, 25 Sep 2008 21:06:24 +0000 (21:06 -0000)]
fix usage text - s/USE_GETOPT_LONG/USE_FEATURE_xxxLONG_OPTIONS/
by Markus Heidelberg (markus.heidelberg AT web.de)
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 12:18:49 +0000 (12:18 -0000)]
- add dpkg -l <packagepattern> (Peter Korsgaard)
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 12:13:34 +0000 (12:13 -0000)]
- update my name. No obj-code changes ;)
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 11:50:13 +0000 (11:50 -0000)]
- improve helptext
Denis Vlasenko [Thu, 25 Sep 2008 11:42:10 +0000 (11:42 -0000)]
top: fix "top -d 1" (bug 5144)
Denis Vlasenko [Thu, 25 Sep 2008 11:17:10 +0000 (11:17 -0000)]
top: don't lie in help screen about "-d 1" being valid
Denis Vlasenko [Thu, 25 Sep 2008 11:11:37 +0000 (11:11 -0000)]
top: fixes to prev commit: '1' should toggle SMP view too;
"cpu ..." line should be parsed unconditionally
top: do not truncate loadavg string. More info -> better
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 10:55:05 +0000 (10:55 -0000)]
- fix compilation on OSF/1
Denis Vlasenko [Thu, 25 Sep 2008 10:48:06 +0000 (10:48 -0000)]
top: optional SMP support by Vineet Gupta (vineetg76 AT gmail.com)
Denis Vlasenko [Thu, 25 Sep 2008 10:41:15 +0000 (10:41 -0000)]
df: unsigned long needs %lu
Denis Vlasenko [Thu, 25 Sep 2008 10:39:10 +0000 (10:39 -0000)]
whitespace fixes
Denis Vlasenko [Thu, 25 Sep 2008 10:20:46 +0000 (10:20 -0000)]
return setgroups() decl to libbb, it is needed if we use libpwdgrp.
Mike Frysinger [Thu, 25 Sep 2008 00:41:49 +0000 (00:41 -0000)]
we dont provide setgroups() replacement, so dont provide the prototype either ... especially since it conflicts on some systems (like Darwin)
Denis Vlasenko [Mon, 22 Sep 2008 21:34:24 +0000 (21:34 -0000)]
runsvdir: conditionalize "log in argiment" (mis)feature. By Vladimir.
with:
runsv 139 141 +2
runsvdir_main 1583 1513 -70
without:
warn2_cannot 14 27 +13
runsv 139 141 +2
warnx 28 16 -12
warn3x 23 - -23
runsvdir_main 1583 1125 -458
Denis Vlasenko [Sun, 21 Sep 2008 15:29:29 +0000 (15:29 -0000)]
crontab: do not destroy STDIN_FILENO, editor may need it (crontab -e)
vi: deal with EOF/error on stdin and with input NULs
function old new delta
crontab_main 623 642 +19
edit_file 901 906 +5
readit 331 318 -13
Denis Vlasenko [Sun, 21 Sep 2008 01:01:46 +0000 (01:01 -0000)]
unzip: handle "central directory"
needed for OpenOffice, gmail attachment .zips etc
conditional on CONFIG_DESKTOP
function old new delta
unzip_main 1643 1939 +296
find_cds_offset - 173 +173
unzip_skip 11 16 +5
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 474/0) Total: 474 bytes
Denis Vlasenko [Sat, 20 Sep 2008 18:14:13 +0000 (18:14 -0000)]
setfont: use ioctl(KDFONTOP), it honours -C tty
Denis Vlasenko [Sat, 20 Sep 2008 16:28:59 +0000 (16:28 -0000)]
init: set stderr to NONBLOCK
*: s/setenv(a,b,1)/xsetenv(a,b)/
function old new delta
init_main 856 895 +39
message 146 144 -2
crond_main 1418 1416 -2
run 661 658 -3
zcip_main 1409 1403 -6
edit_file 910 901 -9
environment 20 - -20
Denis Vlasenko [Sat, 20 Sep 2008 15:16:50 +0000 (15:16 -0000)]
webpage: add "RD129 embedded board from ELPA" to product page
split it into "projects" (software) and "products" (hardware) parts
Denis Vlasenko [Sat, 20 Sep 2008 13:28:45 +0000 (13:28 -0000)]
website: add a product using bbox - EMTEC MovieCube R700
Denis Vlasenko [Fri, 19 Sep 2008 23:43:59 +0000 (23:43 -0000)]
libbb: document that we maybe will want to understand \e someday
(no code changes)
Denis Vlasenko [Fri, 19 Sep 2008 21:32:51 +0000 (21:32 -0000)]
grep: yet another fixlet for EXTRA_COMPAT
Denis Vlasenko [Fri, 19 Sep 2008 21:29:21 +0000 (21:29 -0000)]
grep: fix EXTRA_COMPAT grep to honor -E and -i
Denis Vlasenko [Thu, 18 Sep 2008 01:01:02 +0000 (01:01 -0000)]
setfont: small fixes from Vladimir
Denis Vlasenko [Thu, 18 Sep 2008 00:56:24 +0000 (00:56 -0000)]
id: fix "id <user>" case. Requires getgrouplist().
function old new delta
getgrouplist_internal - 200 +200
id_main 462 539 +77
bb_internal_getgrouplist - 67 +67
bb__parsespent 119 117 -2
bb_internal_initgroups 213 58 -155
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/2 up/down: 344/-157) Total: 187 bytes
Denis Vlasenko [Tue, 16 Sep 2008 21:27:59 +0000 (21:27 -0000)]
slattach: preserve speed in non-raw mode. +39 bytes.
by Matthieu CASTET (matthieu.castet AT parrot.com)
Denis Vlasenko [Tue, 16 Sep 2008 19:35:42 +0000 (19:35 -0000)]
setfont: support -m and -C, support -m TEXTUAL_MAP (by Vladimir)
build system: fixlet for echo applet config
function old new delta
setfont_main 157 387 +230
ctoi - 75 +75
packed_usage 24921 24950 +29
Denis Vlasenko [Sun, 14 Sep 2008 21:30:35 +0000 (21:30 -0000)]
man: do not use default if /etc/man.conf has different MANPATH
do not warn if /etc/man.conf does not exist
Denis Vlasenko [Sun, 14 Sep 2008 21:26:55 +0000 (21:26 -0000)]
man: use default MANPATH of "/usr/man"; do not search paths twice
Denis Vlasenko [Sun, 14 Sep 2008 20:33:03 +0000 (20:33 -0000)]
modprobe-small: trivial SEGV fix
Denis Vlasenko [Sun, 14 Sep 2008 19:31:36 +0000 (19:31 -0000)]
id: unsigned long is excessive for option bitmask
Denis Vlasenko [Sat, 13 Sep 2008 18:27:32 +0000 (18:27 -0000)]
setfont: add comments/TODOs, no code changes
Denis Vlasenko [Sat, 13 Sep 2008 14:59:38 +0000 (14:59 -0000)]
modutils/*: rewrite by Timo Teras <timo.teras AT iki.fi>
- a lot faster (linear algorithmic complexity, smaller memory foot print)
- a lot smaller (the old code was overly complicated)
- loading of aliases is now module-init-tools compliant
- blacklisting is done correctly (-b option added)
- module argument quoting done right
- depmod now correctly generates modules.symbols and modules.alias
add/remove: 16/21 grow/shrink: 4/6 up/down: 6930/-9316 Total: -2386 bytes
text data bss dec hex filename
806039 592 6680 813311 c68ff busybox_old
803498 592 6676 810766 c5f0e busybox_unstripped
Denis Vlasenko [Sat, 13 Sep 2008 12:51:10 +0000 (12:51 -0000)]
id: code shrink
function old new delta
id_main 494 462 -32
Bernhard Reutner-Fischer [Fri, 12 Sep 2008 09:58:11 +0000 (09:58 -0000)]
- implement id -G (Tito Ragusa)
Paul Mundt [Fri, 12 Sep 2008 09:19:40 +0000 (09:19 -0000)]
Kill off bogus #error's for big endian SH targets, these work fine.
Denis Vlasenko [Thu, 11 Sep 2008 19:51:11 +0000 (19:51 -0000)]
runsvd: shrink by Vladimir
*: use unified trivial signal handler
function old new delta
record_signo - 10 +10
process_stdin 433 443 +10
bbunpack 383 391 +8
wc_main 598 605 +7
conescape 293 296 +3
nmeter_main 670 672 +2
fallbackSort 1717 1719 +2
bb_got_signal - 1 +1
microcom_main 713 712 -1
signalled 2 - -2
pack_gzip 1661 1659 -2
evalvar 1376 1374 -2
compare_keys 737 735 -2
parse_command 1460 1456 -4
expand 1748 1744 -4
s_term 37 29 -8
s_hangup 8 - -8
fgotsig 10 - -10
find_pair 187 169 -18
signal_handler 190 170 -20
runsvdir_main 1701 1583 -118
------------------------------------------------------------------------------
(add/remove: 2/3 grow/shrink: 6/10 up/down: 43/-199) Total: -156 bytes
Denis Vlasenko [Thu, 11 Sep 2008 09:54:23 +0000 (09:54 -0000)]
halt: reinstate -w even if !FEATURE_WTMP; beautify code in halt.c
Denis Vlasenko [Sun, 7 Sep 2008 23:22:08 +0000 (23:22 -0000)]
watchdog: add -T option
function old new delta
watchdog_main 159 219 +60
mdev: support match by major,minor. See bug 4714.
+100 bytes.
Denis Vlasenko [Sat, 6 Sep 2008 14:52:28 +0000 (14:52 -0000)]
ifenslave: on uclibc at least, net/if.h + linux/if_bonding.h dont coexist
Denis Vlasenko [Sat, 6 Sep 2008 14:42:27 +0000 (14:42 -0000)]
ifenslave: wants net/if.h
Denis Vlasenko [Sat, 6 Sep 2008 14:35:08 +0000 (14:35 -0000)]
install: shrink -D code. By Bernhard.
function old new delta
install_main 726 707 -19
Denis Vlasenko [Sat, 6 Sep 2008 14:14:01 +0000 (14:14 -0000)]
modprobe-small: make insmod command line compatible
function old new delta
modprobe_main 326 435 +109
moderror - 52 +52
process_module 577 530 -47
Bernhard Reutner-Fischer [Fri, 5 Sep 2008 11:46:43 +0000 (11:46 -0000)]
- commentary typo fix
Denis Vlasenko [Fri, 5 Sep 2008 04:59:02 +0000 (04:59 -0000)]
awk: add a comment
Bernhard Reutner-Fischer [Thu, 4 Sep 2008 16:16:47 +0000 (16:16 -0000)]
- uncomment tc for now
Bernhard Reutner-Fischer [Thu, 4 Sep 2008 13:22:58 +0000 (13:22 -0000)]
- add WIP stub for tc.
Printing worked at some point. Modify/Delete needs some refacturing.
Bernhard Reutner-Fischer [Thu, 4 Sep 2008 09:33:23 +0000 (09:33 -0000)]
- mention that we ignore -v, -b, -c
Denis Vlasenko [Wed, 3 Sep 2008 21:54:46 +0000 (21:54 -0000)]
kbd_mode: fix non-ASCII letters in comments
install: support -D
Denis Vlasenko [Tue, 2 Sep 2008 09:00:23 +0000 (09:00 -0000)]
awk: improve nadling of negative numbers in bitwise ops;
fix handling of octal costants. add test for it
function old new delta
getvar_i_int - 93 +93
my_strtod - 84 +84
qrealloc 33 36 +3
getvar_i 99 95 -4
next_token 979 919 -60
evaluate 6359 5627 -732
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/3 up/down: 180/-796) Total: -616 bytes
Bernhard Reutner-Fischer [Mon, 1 Sep 2008 15:30:49 +0000 (15:30 -0000)]
- pass "Accept:" and "Accept-Language:" header to CGI scripts (Alina Friedrichsen)
Alina writes:
With this patch the BusyBox httpd pass the "Accept:" and
"Accept-Language:" header by the environment variables to the
CGI-Script, so this can make Content Negotiation to deliver the page in
the language, which was selected by the user in the browser settings,
and/or serve the XHTML page with the right MIME-Type
application/xhtml+xml to user agents which support it und text/html
which don't.
(Needed e.g. for OpenWrt LuCI.)
Signed-off-by: Alina Friedrichsen <x-alina at gmx dot net>
Bernhard Reutner-Fischer [Mon, 1 Sep 2008 15:26:12 +0000 (15:26 -0000)]
- remove excess whitespace (Vladimir Dronnikov)
Bernhard Reutner-Fischer [Mon, 1 Sep 2008 15:24:52 +0000 (15:24 -0000)]
- halt's -w depends on FEATURE_WTMP (Vladimir Dronnikov)
Bernhard Reutner-Fischer [Mon, 1 Sep 2008 15:23:04 +0000 (15:23 -0000)]
- add ether-wake to the hardcoded(argh!) list of APPLET_ODDNAME
Denis Vlasenko [Sun, 31 Aug 2008 21:56:48 +0000 (21:56 -0000)]
insmod: fix detection of open failure
Denis Vlasenko [Sun, 31 Aug 2008 21:29:35 +0000 (21:29 -0000)]
build system: fix "Possible unintended interpolation of @host"
message
Denis Vlasenko [Fri, 29 Aug 2008 08:37:07 +0000 (08:37 -0000)]
build system: echo and test features may be enabled
even if these applets are enabled as ash builtins only
testsuite: add some awk tests
Denis Vlasenko [Thu, 28 Aug 2008 23:16:58 +0000 (23:16 -0000)]
awk: bitwise ops cast oprands and results to unsigned long,
not signed. closes 4774.
Denis Vlasenko [Thu, 28 Aug 2008 22:59:23 +0000 (22:59 -0000)]
awk: support hex constants
Denis Vlasenko [Thu, 28 Aug 2008 22:42:52 +0000 (22:42 -0000)]
df: add support for more options, add some coreutils 6.10 compat.
by Bernhard Reutner-Fischer
function old new delta
df_main 664 795 +131
packed_usage 24812 24862 +50
make_human_readable_str 213 262 +49
static.ignored_mounts - 8 +8
static.unit_chars - 7 +7
static.zero_and_units 6 - -6
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 3/0 up/down: 245/-6) Total: 239 bytes
Denis Vlasenko [Thu, 28 Aug 2008 21:38:10 +0000 (21:38 -0000)]
insmod: mix xmalloc with xrealloc_vector more carefully
Bernhard Reutner-Fischer [Thu, 28 Aug 2008 14:29:54 +0000 (14:29 -0000)]
- forgot to pass in the HOST_EXTRACFLAGS
Denis Vlasenko [Wed, 27 Aug 2008 22:29:43 +0000 (22:29 -0000)]
insmod: shrink
function old new delta
obj_allocate_commons 488 462 -26
insmod_main 3830 3714 -116
Denis Vlasenko [Wed, 27 Aug 2008 21:31:23 +0000 (21:31 -0000)]
cksum: respect CONFIG_LFS=y. Adds 36 bytes in this case.
Bernhard Reutner-Fischer [Wed, 27 Aug 2008 07:39:57 +0000 (07:39 -0000)]
- pull check-lxdialog from linux-2.6.26
Denis Vlasenko [Tue, 26 Aug 2008 20:09:08 +0000 (20:09 -0000)]
trylink: make messages less confusing
Denis Vlasenko [Tue, 26 Aug 2008 01:32:33 +0000 (01:32 -0000)]
modprobe-small: support "blacklist" keyword in /etc/modules/<modulename>
Denis Vlasenko [Mon, 25 Aug 2008 22:03:41 +0000 (22:03 -0000)]
reinstate sponsor's links
Denis Vlasenko [Sun, 24 Aug 2008 16:25:40 +0000 (16:25 -0000)]
fbset: fix mode matching code: original code may trigger false positive.
E.g. fbset -n '16bit'
succeeded at 'mode "640x480 16bit"' and that is wrong.
Also parser is rewritten. By Vladimir.
function old new delta
static.syncs - 20 +20
g_options 4 - -4
g_cmdoptions 432 385 -47
fbset_main 1842 1642 -200
Denis Vlasenko [Sun, 24 Aug 2008 00:02:18 +0000 (00:02 -0000)]
ping: SO_RCVBUF must be bigger than packet size,
otherwise large ping packets might fail to be received.
Denis Vlasenko [Sat, 23 Aug 2008 23:15:48 +0000 (23:15 -0000)]
hexdump: fix SEGV in hexdump -e ""
Denis Vlasenko [Sat, 23 Aug 2008 23:15:17 +0000 (23:15 -0000)]
setarch: do not try to use non-existent data in argv[]
Denis Vlasenko [Fri, 22 Aug 2008 11:16:52 +0000 (11:16 -0000)]
tweak web page
Bernhard Reutner-Fischer [Fri, 22 Aug 2008 08:45:01 +0000 (08:45 -0000)]
- move some older news to the news archive (the main page was once again over 30kib big)
Bernhard Reutner-Fischer [Fri, 22 Aug 2008 08:25:26 +0000 (08:25 -0000)]
- reformat help text
Denis Vlasenko [Thu, 21 Aug 2008 22:10:47 +0000 (22:10 -0000)]
Announce 1.11.2
Bernhard Reutner-Fischer [Thu, 21 Aug 2008 21:15:28 +0000 (21:15 -0000)]
- print the documentation per default