Denis Vlasenko
787a492f23
ip: in "ip rule add from all table 1", "all" is taken as 0.0.0.0/32,
...
whereas "any" and "default" would be 0.0.0.0/0. They must be all 0.0.0.0/0.
Closes bug 57.
2009-03-03 14:55:29 +00:00
Denis Vlasenko
230997bd61
expr: a bit more robust handling of regexps with groups (closes bug 87)
2009-03-03 14:27:36 +00:00
Denis Vlasenko
6852effbc2
printf: fix 1.12.0 breakage (from %*d fix). It was misinterpreting "*"
2009-03-03 14:14:44 +00:00
Denis Vlasenko
248ce91017
ls: implement -Q and -g (-g was accepted but ignored)
...
function old new delta
print_name - 198 +198
showfiles 1489 1508 +19
ls_options 30 31 +1
opt_flags 112 108 -4
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/1 up/down: 218/-4) Total: 214 bytes
2009-03-03 14:09:04 +00:00
Denis Vlasenko
11a6f9b44f
ls: do not follow links with -s (closes bug 33),
...
display unsigned data with %XXu, not %XXd.
2009-03-03 13:20:22 +00:00
Denis Vlasenko
7886275c98
top: make it work again on 2.4 kernels (closes bug 125)
2009-03-03 11:55:31 +00:00
Denis Vlasenko
7e0c243ad5
sendmail: improve help text
2009-03-02 16:12:00 +00:00
Denis Vlasenko
50af926ecf
wget: fix --header handling
2009-03-02 15:08:06 +00:00
Denis Vlasenko
d9415d6335
syslogd: create logfile with 0666, not 0600.
2009-03-02 14:26:28 +00:00
Denis Vlasenko
37ad6b323d
tr: update testsuite
2009-03-02 12:07:15 +00:00
Denis Vlasenko
491d6e3b56
tr: fix overflow in expand and complement, fix stop after [:class:],
...
fix order of [:xdigit:], make tr require one param at least.
function old new delta
expand 1743 1849 +106
tr_main 463 518 +55
complement 72 75 +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 164/0) Total: 164 bytes
2009-03-02 12:05:57 +00:00
Denis Vlasenko
1bfcc8b08e
tr: support [:xdigit:], fix handling of ranges and [x]'s.
...
add testsuite entry for each of 3 bugs fixed.
function old new delta
static.classes 73 82 +9
expand 1738 1743 +5
complement 74 72 -2
tr_main 472 463 -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 14/-11) Total: 3 bytes
2009-03-01 04:50:18 +00:00
Denis Vlasenko
31773b71e8
runsv: another tiny optimization
...
function old new delta
startservice 297 288 -9
ctrl 435 426 -9
2009-02-26 12:38:01 +00:00
Denis Vlasenko
f09f4e015b
runsv: small optimization
...
*: more paranoia around passing NULL to execl[e]
function old new delta
custom 240 221 -19
2009-02-26 12:29:59 +00:00
Denis Vlasenko
48637e0924
modutils: oveflow fix
2009-02-26 12:00:52 +00:00
Denis Vlasenko
9aa5c652e9
unzip: fix thinko with le/be conv and size (closes bug 129)
...
awk: make "struct global" hack more robust wrt alignment (closes bug 131)
2009-02-26 11:21:04 +00:00
Denis Vlasenko
8e5de2aab7
login: fix buglet introduced by "simplification"
2009-02-24 17:10:24 +00:00
Denis Vlasenko
e261bba6a5
flash_eraseall.c: fix vda's breakage
2009-02-24 16:47:03 +00:00
Bernhard Reutner-Fischer
30e3df3817
- rephrase helptext for clarity
2009-02-24 10:05:15 +00:00
Bernhard Reutner-Fischer
12aca796ba
- improve wording
2009-02-24 10:03:22 +00:00
Bernhard Reutner-Fischer
0adf7f2d46
- by not calling getpagesize() twice we can save 2 bytes (walter harms)
2009-02-23 16:51:25 +00:00
Bernhard Reutner-Fischer
f3b39a27a6
- fix typo (thanks to Peter Kjellerstedt for noticing)
2009-02-23 16:21:53 +00:00
Bernhard Reutner-Fischer
a31187dbea
- Dual-license the config parser also under "LGLPv2.1 or later"
...
(Vladimir Dronnikov)
2009-02-22 10:57:23 +00:00
Ned Ludd
039ed437d3
make modutils compile again
2009-02-20 04:56:00 +00:00
Denis Vlasenko
a430b695a2
depmod: accept and ignore -r (Linux kernle build needs this)
2009-02-19 01:25:42 +00:00
Denis Vlasenko
962e3656f6
flash_eraseall: shrink
...
function old new delta
flash_eraseall_main 1044 1006 -38
2009-02-19 01:17:12 +00:00
Bernhard Reutner-Fischer
02468c2063
- add big busybox logo as transparent png
2009-02-18 21:09:07 +00:00
Bernhard Reutner-Fischer
7307e06122
- bail out if screen resolution does not match PPM dimensions.
...
Previously a 640x480 PPM on an e.g. 720x400 console would just segfault when
reading the lines. While this bug should perhaps be fixed to handle such cases
properly we just exit gracefully until somebody is willing to take care of it
properly.
2009-02-18 15:28:43 +00:00
Bernhard Reutner-Fischer
8dcb33c3eb
- document ppm header and skip whitespace
2009-02-18 15:13:05 +00:00
Bernhard Reutner-Fischer
e455f6ec27
- update TODOs
2009-02-18 14:05:54 +00:00
Bernhard Reutner-Fischer
8af23f8fc3
- eliminate globals
2009-02-18 13:42:51 +00:00
Bernhard Reutner-Fischer
7d9d251543
- make it compile and shrink it a little bit (~-110 bytes)
...
text data bss dec hex filename
1533 4 0 1537 601 miscutils/flash_eraseall.o.old
1415 4 0 1419 58b miscutils/flash_eraseall.o
- add some FIXMEs
2009-02-18 13:26:29 +00:00
Bernhard Reutner-Fischer
0d22d1755c
- add flash_eraseall
...
This is the result after converting mtd-utils' flash_eraseall to BB.
The functionality given by this patch almost the same except that this
one does not support long options.
I needed this tool a system which does not have a lot of flash for RFS
and merging this into BB as the only way out.
[bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl
function old new delta
flash_eraseall_main - 1072 +1072
show_progress - 62 +62
packed_usage 25156 25176 +20
applet_names 1958 1973 +15
applet_main 2352 2360 +8
target_endian - 4 +4
applet_nameofs 588 590 +2
applet_install_loc 147 148 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes
[bigeasy@]$ size miscutils/flash_eraseall.o
text data bss dec hex filename
1586 4 0 1590 636 miscutils/flash_eraseall.o
Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2009-02-18 13:23:46 +00:00
Bernhard Reutner-Fischer
051fdb9e7a
- PPMs can have comments in the header.
...
Thanks to Denys for pointing that out. (~+7b)
2009-02-16 12:36:50 +00:00
Denis Vlasenko
8ad78e1ec7
ash: make dot command search current directory first, as bash does.
2009-02-15 12:40:30 +00:00
Denis Vlasenko
c6ab085002
Make "shadowed" numeric config entries (ones which depend on
...
other options which are off) to have the value of 0, not "".
2009-02-15 12:01:14 +00:00
Denis Vlasenko
28ea4298e3
volume_id: abort early on read failures.
...
should help with probing missing fdd's
2009-02-15 05:51:19 +00:00
Denis Vlasenko
93b38208d1
init: fix compile breakage with '# CONFIG_FEATURE_KILL_REMOVED is not set'
...
runsvdir.c: fix typo in comment
2009-02-14 20:58:13 +00:00
Bernhard Reutner-Fischer
97b954decb
- improve wording
2009-02-14 13:17:48 +00:00
Bernhard Reutner-Fischer
51d943d761
- improve helptext
2009-02-14 12:58:48 +00:00
Bernhard Reutner-Fischer
4efcec9378
- misc untested shrinkage:
...
$ ./scripts/bloat-o-meter _bb_un.oorig busybox_unstripped
function old new delta
fbsplash_main 595 985 +390
fb_drawimage 493 - -493
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/0 up/down: 390/-493) Total: -103 bytes
$ size miscutils/fbsplash.o*
text data bss dec hex filename
2019 0 0 2019 7e3 miscutils/fbsplash.o.oorig
1857 0 0 1857 741 miscutils/fbsplash.o.new
2009-02-14 12:36:16 +00:00
Bernhard Reutner-Fischer
52b56b7585
- improve helptext of obsolete devfs stuff..
2009-02-14 12:19:37 +00:00
Bernhard Reutner-Fischer
bb5f8eddc4
- cosmetic typo in helptext
2009-02-14 12:13:13 +00:00
Denis Vlasenko
9f00e05781
killall and sestatus also need ARGVN scanning
2009-02-14 01:36:11 +00:00
Denis Vlasenko
d63cd1bf1c
mdev: if /sys/class/block exists, don't scan /sys/block
2009-02-13 00:02:54 +00:00
Denis Vlasenko
a0ab943492
function old new delta
...
kill_main 706 884 +178
2009-02-07 22:30:39 +00:00
Denis Vlasenko
2ca84f6064
httpd: tiny optimization
2009-02-05 12:38:21 +00:00
Denis Vlasenko
1cbfd98ded
httpd:
...
Kill config options by making them always on:
FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
This makes httpd.c remotely readable - it had ~125 #ifdefs, now it has ~100.
The growth on a .config with all FEATURE_HTTPDs off is:
function old new delta
send_file_and_exit - 269 +269
parse_conf 683 763 +80
free_llist - 32 +32
httpd_main 427 454 +27
sighup_handler - 15 +15
handle_incoming_and_exit 1110 905 -205
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 2/1 up/down: 423/-205) Total: 218 bytes
2009-02-04 23:43:44 +00:00
Denis Vlasenko
6d5590f9d0
sendmail: remove erroneous usage lines
2009-02-04 00:01:07 +00:00
Denis Vlasenko
ded5dfef6e
crond,crontab: make cron directory location configurable
2009-02-03 23:59:41 +00:00