Denys Vlasenko [Sun, 13 Sep 2009 12:57:24 +0000 (14:57 +0200)]
add USE_PORTABLE_CODE option and use it in find applet
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 13 Sep 2009 03:52:46 +0000 (05:52 +0200)]
fsck: more clever (->smaller) handling of parameters
function old new delta
fsck_device 213 449 +236
new_args - 46 +46
fsck_main 1870 1815 -55
execute 289 - -289
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/1 up/down: 282/-344) Total: -62 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 13 Sep 2009 03:52:03 +0000 (05:52 +0200)]
fsck: remove a few statics
function old new delta
kill_all_if_got_signal - 60 +60
notitle 1 - -1
doall 1 - -1
cancel_requested 1 - -1
num_devices 4 - -4
devices 4 - -4
signal_cancel 8 - -8
fsck_main 1893 1870 -23
kill_all_if_cancel_requested 60 - -60
------------------------------------------------------------------------------
(add/remove: 1/7 grow/shrink: 0/1 up/down: 60/-102) Total: -42 bytes
text data bss dec hex filename
824205 458 6956 831619 cb083 busybox_old
824174 458 6948 831580 cb05c busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 12 Sep 2009 20:41:57 +0000 (22:41 +0200)]
test: use index_in_strings
function old new delta
ops_texts - 124 +124
ops_table - 80 +80
display_process_list 1447 1448 +1
binop 525 523 -2
static.no_op 6 2 -4
check_operator 71 63 -8
ops 240 - -240
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/3 up/down: 205/-254) Total: -49 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 12 Sep 2009 13:11:50 +0000 (15:11 +0200)]
top: remove GCCisms
function old new delta
display_process_list 1447 1448 +1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 12 Sep 2009 12:48:33 +0000 (14:48 +0200)]
hush: make memleak debugging more robust
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 12 Sep 2009 12:47:41 +0000 (14:47 +0200)]
hush: code shrink by Dan Fandrich (dan AT coneharvesters.com)
function old new delta
find_function_slot - 47 +47
run_list 2508 2491 -17
find_function 40 8 -32
builtin_unset 227 165 -62
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 11 Sep 2009 22:15:34 +0000 (00:15 +0200)]
fix read_cmdline API and a small buglet where "[comm]" may be too narrow
function old new delta
func_args 25 26 +1
read_cmdline 119 114 -5
display_process_list 1462 1447 -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-20) Total: -19 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 11 Sep 2009 21:29:45 +0000 (23:29 +0200)]
top, ps: do not output trailing spaces
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 11 Sep 2009 21:26:42 +0000 (23:26 +0200)]
top: add -m ("memory") option
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 10 Sep 2009 19:27:39 +0000 (21:27 +0200)]
networking/httpd_ssi.c: expand comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 10 Sep 2009 19:24:45 +0000 (21:24 +0200)]
networking/httpd_ssi.c: new example CGI handler
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 9 Sep 2009 23:46:02 +0000 (01:46 +0200)]
httpd: shrink mime type matching code (suggested by Bernhard)
function old new delta
static.suffixTable 100 231 +131
send_file_and_exit 625 658 +33
handle_incoming_and_exit 2749 2745 -4
send_cgi_and_exit 936 901 -35
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 164/-39) Total: 125 bytes
text data bss dec hex filename
824631 458 6956 832045 cb22d busybox_old
824550 458 6956 831964 cb1dc busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 9 Sep 2009 21:12:10 +0000 (23:12 +0200)]
a few more GCC-isms removed
text data bss dec hex filename
824641 458 6956 832055 cb237 busybox_old
824631 458 6956 832045 cb22d busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 9 Sep 2009 20:33:30 +0000 (22:33 +0200)]
remove some garbage from http POST upload example
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 8 Sep 2009 19:17:49 +0000 (21:17 +0200)]
httpd: fix bug 601 "I:index.php does not run interpreter on DIR/ url"
function old new delta
parse_conf 1462 1485 +23
index_html - 11 +11
handle_incoming_and_exit 2762 2749 -13
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 34/-13) Total: 21 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Tue, 8 Sep 2009 12:16:00 +0000 (14:16 +0200)]
Add ENABLE_FEATURE_MDEV_RENAME_REGEXP examples to mdev documentation
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Denys Vlasenko [Mon, 7 Sep 2009 11:19:17 +0000 (13:19 +0200)]
TODO: add unicode list
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 7 Sep 2009 10:44:56 +0000 (12:44 +0200)]
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
Denys Vlasenko [Mon, 7 Sep 2009 00:38:26 +0000 (02:38 +0200)]
modprobe-small: make string buffer code robust; fix help text
together with previous one-liner:
function old new delta
append 70 99 +29
parse_module 295 311 +16
copy_stringbuf 35 36 +1
packed_usage 26545 26540 -5
appendc 27 - -27
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 3/1 up/down: 46/-32) Total: 14 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 7 Sep 2009 00:37:19 +0000 (02:37 +0200)]
modprobe-small: hopefully fix bug 591 (incorrect detection of alias with '-')
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 6 Sep 2009 14:52:50 +0000 (16:52 +0200)]
unzip: more compat if DESKTOP=y
function old new delta
DESKTOP off:
unzip_main 1648 1629 -19
DESKTOP=y:
unzip_main 1939 2197 +258
Without this, midnight commander can't display .zip files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 6 Sep 2009 13:06:25 +0000 (15:06 +0200)]
Revert "unlzma: speedup, by Pascal Bellard (pascal.bellard AT ads-lu.com)"
https://bugs.busybox.net/show_bug.cgi?id=599
This reverts commit
9ac3dc764a78b51fe8fdcd1b4682850de098733b.
Denys Vlasenko [Sun, 6 Sep 2009 10:47:55 +0000 (12:47 +0200)]
more C standard compat fixes from Dan Fandrich
function old new delta
docolon 207 204 -3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 6 Sep 2009 00:58:59 +0000 (02:58 +0200)]
documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 6 Sep 2009 00:36:23 +0000 (02:36 +0200)]
remove some GNUisms. by Dan Fandrich (dan AT coneharvesters.com)
function old new delta
logdirs_reopen 1310 1308 -2
read_line_input 4757 4753 -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-6) Total: -6 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 6 Sep 2009 00:12:28 +0000 (02:12 +0200)]
experimentally add mallopt tweaks for reduced memory consumption
function old new delta
mallopt - 126 +126
main 91 117 +26
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/0 up/down: 152/0) Total: 152 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 5 Sep 2009 18:15:17 +0000 (20:15 +0200)]
hush: export PWD
function old new delta
set_pwd_var - 36 +36
hush_main 941 951 +10
evalvar 1365 1363 -2
ash_main 1364 1362 -2
builtin_cd 75 72 -3
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/3 up/down: 46/-7) Total: 39 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 4 Sep 2009 01:48:40 +0000 (03:48 +0200)]
inetd: comment tweak. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 4 Sep 2009 00:21:13 +0000 (02:21 +0200)]
telnetd: add -w ("inetd wait") option. Can be configured off.
gcc fils to fully optimize it out when it's off:
function old new delta
telnetd_main 1527 1548 +21
packed_usage 26596 26587 -9
but nevertheless it's a useful (and so far single) example
how to write "inetd wait" tcp service.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 4 Sep 2009 00:19:46 +0000 (02:19 +0200)]
inetd: be more careful with syslog socket; other small fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 2 Sep 2009 09:49:25 +0000 (11:49 +0200)]
small commit tweak in parse_datestr, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 31 Aug 2009 03:15:21 +0000 (05:15 +0200)]
uniq: shave off whole 10 bytes off, oh my
text data bss dec hex filename
823673 458 6956 831087 cae6f busybox_old
823663 458 6956 831077 cae65 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 30 Aug 2009 18:05:10 +0000 (20:05 +0200)]
ash: better comment. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 30 Aug 2009 17:57:49 +0000 (19:57 +0200)]
code shrink in help text code
text data bss dec hex filename
823690 458 6956 831104 cae80 busybox_old
823673 458 6956 831087 cae6f busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 30 Aug 2009 17:35:06 +0000 (19:35 +0200)]
uniq: code shrink
function old new delta
xgetoptfile_uniq_s 44 51 +7
uniq_main 389 368 -21
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-21) Total: -14 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 30 Aug 2009 17:34:09 +0000 (19:34 +0200)]
uniq: plug memory leak (patch from OpenWRT project)
function old new delta
uniq_main 371 389 +18
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 30 Aug 2009 17:32:45 +0000 (19:32 +0200)]
uniq: rename some variables. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 30 Aug 2009 15:07:30 +0000 (17:07 +0200)]
ash: revent one place where number() doesn't work
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 30 Aug 2009 14:23:29 +0000 (16:23 +0200)]
ethr-wake: can use ether_hostton on uclibc >= 0.9.30
By Leonid Lisovskiy (lly.dev AT gmail.com)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 29 Aug 2009 23:10:17 +0000 (01:10 +0200)]
libunarchive: fix a bug where mode and time is no longer restored
Introduced by me in 1.15.x. Found by Rob Landley.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 29 Aug 2009 20:53:41 +0000 (22:53 +0200)]
ash: deal with some TODOs (mostly trivial)
function old new delta
msg_illnum - 19 +19
evalvar 1365 1364 -1
illnum 19 - -19
subevalvar 1182 1158 -24
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 19/-44) Total: -25 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 29 Aug 2009 18:37:09 +0000 (20:37 +0200)]
ash: add testsuite for bug 585
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 29 Aug 2009 18:24:12 +0000 (20:24 +0200)]
ash: fix handling of Unicode chars in redirects. Fixes bug 585
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 29 Aug 2009 18:23:20 +0000 (20:23 +0200)]
ash: trivial simplifications and optimizations
function old new delta
rmescapes - 256 +256
memtodest 94 103 +9
evalvar 1363 1365 +2
_rmescapes 256 - -256
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 2/0 up/down: 267/-256) Total: 11 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 28 Aug 2009 19:15:24 +0000 (21:15 +0200)]
rpm2cpio: code shrink
function old new delta
skip_header 94 92 -2
rpm2cpio_main 177 174 -3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-5) Total: -5 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 28 Aug 2009 19:09:51 +0000 (21:09 +0200)]
rpm2cpio: handle unseekable input correctly
function old new delta
data_skip 14 20 +6
seek_by_jump 67 72 +5
data_align 81 84 +3
seek_by_read 20 19 -1
skip_header 99 94 -5
rpm2cpio_main 183 177 -6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/3 up/down: 14/-12) Total: 2 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Pascal Bellard [Fri, 28 Aug 2009 04:20:33 +0000 (06:20 +0200)]
rpm2cpio: handle bz2 too; code shrink
function old new delta
skip_header 142 99 -43
rpm2cpio_main 321 183 -138
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-181) Total: -181 bytes
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 27 Aug 2009 19:13:30 +0000 (21:13 +0200)]
update copyright year
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 27 Aug 2009 18:47:35 +0000 (20:47 +0200)]
more help text tweaking
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 27 Aug 2009 18:38:17 +0000 (20:38 +0200)]
trim help texts a bit
function old new delta
packed_usage 26709 26634 -75
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 27 Aug 2009 01:20:45 +0000 (03:20 +0200)]
remove a few extra newlines in help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Mon, 24 Aug 2009 14:20:52 +0000 (16:20 +0200)]
use .git as EXTRAVERSION
... and not .svn
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Denys Vlasenko [Sun, 23 Aug 2009 20:10:04 +0000 (22:10 +0200)]
ash: make "jobs -l" more similar to bash. By Earl Chew. Fixes bug 481
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 23 Aug 2009 19:30:38 +0000 (21:30 +0200)]
Start 1.16.x cycle
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 23 Aug 2009 00:33:20 +0000 (02:33 +0200)]
Releasing 1.15.0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Matthijs van de Water [Sat, 22 Aug 2009 18:19:48 +0000 (20:19 +0200)]
wget: strip trailing whitespace from e.g. "Content-length: 120 "
function old new delta
wget_main 2395 2427 +32
Signed-off-by: Matthijs van de Water <matthijs.van.de.water@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 22 Aug 2009 16:00:39 +0000 (18:00 +0200)]
beep: optimize
function old new delta
beep_main 394 276 -118
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 22 Aug 2009 00:34:10 +0000 (02:34 +0200)]
preliminary work for gcc 4.4.0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 21 Aug 2009 15:40:36 +0000 (17:40 +0200)]
fix duplicate FAST_FUNC FAST_FUNC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Fri, 21 Aug 2009 12:40:29 +0000 (14:40 +0200)]
add config knob for default freq and length
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 21 Aug 2009 11:18:31 +0000 (13:18 +0200)]
add simple beep applet
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Denys Vlasenko [Thu, 20 Aug 2009 22:16:01 +0000 (00:16 +0200)]
update defconfig
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 20 Aug 2009 22:05:51 +0000 (00:05 +0200)]
msh: aliased to hush
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 20 Aug 2009 21:34:01 +0000 (23:34 +0200)]
do not store 1st two bytes of compressed help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 20 Aug 2009 21:33:19 +0000 (23:33 +0200)]
patch: support -N. By Olivier Duclos (olivier.duclos AT gmail.com)
function old new delta
packed_usage 26646 26656 +10
patch_main 1101 1110 +9
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 20 Aug 2009 01:40:04 +0000 (03:40 +0200)]
hush: enable "lash is deprecated, please use hush instead" message
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 20 Aug 2009 01:38:58 +0000 (03:38 +0200)]
hush: do not process options after non-option args
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 17 Aug 2009 00:12:20 +0000 (02:12 +0200)]
ash: fix bug 571 (jobs %string misbehaving)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 16 Aug 2009 23:35:04 +0000 (01:35 +0200)]
sed: fix " echo /usr/lib | sed 's,\(^/\|\)[^/][^/]*,..,g' " bug
function old new delta
process_files 2102 2091 -11
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 14 Aug 2009 20:33:10 +0000 (22:33 +0200)]
pgrep: match argv[0] too, not only comm; fix a bug in argv sanitization
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 14 Aug 2009 00:10:54 +0000 (02:10 +0200)]
modprobe: treat tabs in modules.dep as delimiters too. closes bug 567
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 13 Aug 2009 23:36:28 +0000 (01:36 +0200)]
typo fix in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Justin Maggard [Wed, 12 Aug 2009 23:26:17 +0000 (01:26 +0200)]
udhcpc: if got IP successfully, disable -n for future renewals
Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Matthew Stoltenberg [Wed, 12 Aug 2009 22:59:32 +0000 (00:59 +0200)]
volname: new applet
function old new delta
volname_main - 90 +90
packed_usage 26373 26387 +14
applet_names 2078 2086 +8
applet_main 1232 1236 +4
applet_nameofs 616 618 +2
applet_install_loc 154 155 +1
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 5/0 up/down: 119/0) Total: 119 bytes
Signed-off-by: Matthew Stoltenberg <d3matt@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 12 Aug 2009 19:24:29 +0000 (21:24 +0200)]
hust test: complain if busybox binary can't be found
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 12 Aug 2009 17:47:44 +0000 (19:47 +0200)]
hush: fix \<newline> handling on NOMMU
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 12 Aug 2009 12:53:44 +0000 (14:53 +0200)]
hush tests: remove the requirement that .config is in ../..
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 12 Aug 2009 12:21:30 +0000 (14:21 +0200)]
hush: do not use ps -o in leak_argv1; do not hardcode path in negate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 10 Aug 2009 01:16:18 +0000 (03:16 +0200)]
tail: read only a portion of a file if it's huge. closes bug 551
function old new delta
tail_main 1494 1526 +32
tail_read 125 129 +4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 9 Aug 2009 22:08:35 +0000 (00:08 +0200)]
fdisk: add handling of avr32. closes bug 555
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 9 Aug 2009 20:06:56 +0000 (22:06 +0200)]
tail: fix "tail +N file_shorter_than_N"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 8 Aug 2009 01:20:12 +0000 (03:20 +0200)]
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 5 Aug 2009 21:16:27 +0000 (23:16 +0200)]
dd: conv=noerror should skip read errors using lseek (bug 539)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 3 Aug 2009 08:36:58 +0000 (10:36 +0200)]
correct mode of testsuite/rx.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Tomoya Adachi [Mon, 3 Aug 2009 00:59:22 +0000 (02:59 +0200)]
nc: fix nc -ll; report vfork errors; make select loop faster
function old new delta
nc_main 933 946 +13
Signed-off-by: Tomoya Adachi <adachi@il.is.s.u-tokyo.ac.jp>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 2 Aug 2009 17:45:31 +0000 (19:45 +0200)]
rx: strip padding from last block. closes bug 501.
function old new delta
rx_main 876 974 +98
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Earl Chew [Sun, 2 Aug 2009 00:23:27 +0000 (02:23 +0200)]
runsv: run ./finish with parameters (runit compat)
function old new delta
startservice 288 377 +89
runsv_main 1763 1783 +20
Signed-off-by: Earl Chew <earl_chew@agilent.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 1 Aug 2009 22:55:49 +0000 (00:55 +0200)]
svlogd: fix bug 521: use line buffering if any filtering is done
function old new delta
logdirs_reopen 1296 1310 +14
svlogd_main 1439 1444 +5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 1 Aug 2009 04:53:03 +0000 (06:53 +0200)]
libbb: prevent resursion on malloc failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 30 Jul 2009 10:57:19 +0000 (12:57 +0200)]
rename _BB_SUID_ALWAYS and NEVER into REQUIRE and DROP. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 30 Jul 2009 10:42:16 +0000 (12:42 +0200)]
ping6: make it setuid just like ping
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Alexander Shishkin [Tue, 28 Jul 2009 23:35:13 +0000 (01:35 +0200)]
make find_pid_by_name look at /proc/PID/exe too
function old new delta
procps_scan 1642 1709 +67
find_pid_by_name 193 223 +30
free_procps_scan 29 37 +8
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 28 Jul 2009 23:20:09 +0000 (01:20 +0200)]
grep: fix -E + {range}; fix -o not printing all matches (bug 489)
two different bugs, one with EXTRA_COMPAT, other without.
function old new delta
grep_file 1132 1129 -3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Alexander Shishkin [Mon, 27 Jul 2009 00:49:35 +0000 (02:49 +0200)]
halt/reboot/poweroff: add a CONFIG_xxx to act SysV compatibly
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 25 Jul 2009 09:52:32 +0000 (11:52 +0200)]
dpkg: delete postrm script after it's run, not before. closes bug 449
function old new delta
purge_package 220 252 +32
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Stefani Seibold [Sat, 25 Jul 2009 00:02:22 +0000 (02:02 +0200)]
unzip: try lseek before resorting to reading
function old new delta
unzip_skip 16 43 +27
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 24 Jul 2009 23:56:23 +0000 (01:56 +0200)]
tftp: add comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Atsushi Nemoto [Fri, 24 Jul 2009 20:34:47 +0000 (22:34 +0200)]
tftp[d]: fix block# handling on upload with non-default blocksize
function old new delta
tftp_protocol 1590 1618 +28
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 24 Jul 2009 00:28:12 +0000 (02:28 +0200)]
man: use man.config, not only man.conf (man version 1.6f compat)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>