Denis Vlasenko
c373527e4f
hush: preparatory work for implementing functions
2008-10-09 12:58:26 +00:00
Denis Vlasenko
9af22c7626
hush: massive renaming of ill-named structures and fields
...
hush: error out on constructs like:
$ abc(def) - was working as if it was (abcdef)
$ case b in abc(a|(b) echo YES; esac - was ignoring 'abc' and extra '('
2008-10-09 12:54:58 +00:00
Bernhard Reutner-Fischer
578de8644c
- route metric support (Natanael Copa)
...
Adds about 75b
2008-10-07 17:00:58 +00:00
Bernhard Reutner-Fischer
2239f81941
- add some anchors
2008-10-07 16:05:03 +00:00
Denis Vlasenko
834dee785d
ash: support &> redirection (bashism). ~90 bytes of code
2008-10-07 09:18:30 +00:00
Denis Vlasenko
176d49d4f7
ash: some beautification work, no code changes
2008-10-06 09:51:47 +00:00
Denis Vlasenko
559691a3bf
ash: implement ">&file" bashism. ~100 bytes.
2008-10-05 18:39:31 +00:00
Denis Vlasenko
93d0776a96
watchdog: WDIOC_SETTIMEOUT accepts seconds, not milliseconds
...
klogd: handle many lines at once, by Steve Bennett (steveb AT workware.net.au)
2008-10-04 16:40:17 +00:00
Bernhard Reutner-Fischer
c2d5a27b62
- wrap overlong line
2008-10-02 13:30:31 +00:00
Denis Vlasenko
f60719cd49
grep: fix 'echo aaa | grep -o a' + ENABLE_EXTRA_COMPAT case
...
by Natanael Copa
2008-09-30 22:37:29 +00:00
Denis Vlasenko
df6b3ad6ba
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
2008-09-30 01:22:25 +00:00
Denis Vlasenko
58680706d7
route: fix for 64-bit BE machines by Seonghun Lim (wariua AT gmail.com)
2008-09-28 23:39:18 +00:00
Denis Vlasenko
22eb410d66
website: announce 1.12.1 and 1.11.3
2008-09-28 18:33:02 +00:00
Denis Vlasenko
27e1501cb2
scripts/randomtest[.loop]: add scripts for randomconfig testing
2008-09-28 17:19:02 +00:00
Denis Vlasenko
651d49a2ce
showkey: suppress gcc warning
2008-09-28 16:44:28 +00:00
Denis Vlasenko
2b2d977057
sendmail: update by Vladimir
2008-09-28 13:50:57 +00:00
Denis Vlasenko
6826441a02
remove redundant NULL check
2008-09-27 23:39:55 +00:00
Denis Vlasenko
bb04506dc8
more style fixes, no code changes
2008-09-27 14:06:06 +00:00
Denis Vlasenko
d6855d1b50
style fixes, no code changes
2008-09-27 14:03:25 +00:00
Denis Vlasenko
bed22a01fb
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
2008-09-27 14:01:22 +00:00
Denis Vlasenko
682ad3045c
lineedit: fix problems with empty commands in history
2008-09-27 01:28:56 +00:00
Denis Vlasenko
75897ea6d5
start_stop_daemon: accept (and ignore) -R <param>
2008-09-27 01:05:13 +00:00
Denis Vlasenko
739e30fbc3
udhcp: add inline docs; small code shrink
...
function old new delta
send_packet 103 87 -16
udhcpc_main 2359 2323 -36
2008-09-26 23:45:20 +00:00
Denis Vlasenko
7d9399e8dc
udhcpc: fixlet for previous commit
2008-09-26 22:21:03 +00:00
Denis Vlasenko
c321b51dc6
udhcp: added some FIXMEs; code shrink. -49 bytes
2008-09-26 16:29:12 +00:00
Bernhard Reutner-Fischer
1a89133caf
Markus Heidelberg writes:
...
* document --nicelevel in Config.in
* usage: --verbose is the fancy option, not --quiet
2008-09-26 15:14:56 +00:00
Bernhard Reutner-Fischer
48a6773b3a
- 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
2008-09-26 14:10:17 +00:00
Bernhard Reutner-Fischer
fd3552dff9
- commentary typo fix
2008-09-26 11:23:22 +00:00
Denis Vlasenko
bfc93a3caf
nmeter: 4k buffers are too small for /proc files,
...
make them dynamically sized with 16k upper limit. +75 bytes
2008-09-26 11:12:09 +00:00
Denis Vlasenko
ee5dce3365
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).
2008-09-26 10:35:55 +00:00
Denis Vlasenko
f1980f67d3
dhcp: add FAST_FUNC as appropriate. -160 bytes.
2008-09-26 09:34:59 +00:00
Denis Vlasenko
cdb0b652dd
dhcpc: treat "discover...select...discover..." loop the same way
...
as "discover...discover...discover..."
2008-09-26 09:34:15 +00:00
Denis Vlasenko
b46d5f9a93
fix usage text - s/USE_GETOPT_LONG/USE_FEATURE_xxxLONG_OPTIONS/
...
by Markus Heidelberg (markus.heidelberg AT web.de)
2008-09-25 21:06:24 +00:00
Bernhard Reutner-Fischer
97516fc3a6
- add dpkg -l <packagepattern> (Peter Korsgaard)
2008-09-25 12:18:49 +00:00
Bernhard Reutner-Fischer
6c4dadefb6
- update my name. No obj-code changes ;)
2008-09-25 12:13:34 +00:00
Bernhard Reutner-Fischer
a46d2b1d2d
- improve helptext
2008-09-25 11:50:13 +00:00
Denis Vlasenko
c8842213f5
top: fix "top -d 1" (bug 5144)
2008-09-25 11:42:10 +00:00
Denis Vlasenko
42cc6bab16
top: don't lie in help screen about "-d 1" being valid
2008-09-25 11:17:10 +00:00
Denis Vlasenko
35840ab204
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
2008-09-25 11:11:37 +00:00
Bernhard Reutner-Fischer
864329d674
- fix compilation on OSF/1
2008-09-25 10:55:05 +00:00
Denis Vlasenko
17e7f04c8d
top: optional SMP support by Vineet Gupta (vineetg76 AT gmail.com)
2008-09-25 10:48:06 +00:00
Denis Vlasenko
e0bcba18eb
df: unsigned long needs %lu
2008-09-25 10:41:15 +00:00
Denis Vlasenko
ea7c9b3366
whitespace fixes
2008-09-25 10:39:10 +00:00
Denis Vlasenko
cac0f5b7e5
return setgroups() decl to libbb, it is needed if we use libpwdgrp.
2008-09-25 10:20:46 +00:00
Mike Frysinger
f6cad924b1
we dont provide setgroups() replacement, so dont provide the prototype either ... especially since it conflicts on some systems (like Darwin)
2008-09-25 00:41:49 +00:00
Denis Vlasenko
923a79a769
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
2008-09-22 21:34:24 +00:00
Denis Vlasenko
30cfdf90ce
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
2008-09-21 15:29:29 +00:00
Denis Vlasenko
006e8628fc
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
2008-09-21 01:01:46 +00:00
Denis Vlasenko
eef6077d7e
setfont: use ioctl(KDFONTOP), it honours -C tty
2008-09-20 18:14:13 +00:00
Denis Vlasenko
b8d1a4cd5f
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
2008-09-20 16:28:59 +00:00