Denis Vlasenko
54767db8c7
micro optimization
2007-01-30 01:11:36 +00:00
Denis Vlasenko
27a131e08e
preparatory patch for -Wwrite-strings #8 (missed part)
2007-01-30 00:44:41 +00:00
Bernhard Reutner-Fischer
eb10e17b7b
- improve spelling
2007-01-29 23:56:13 +00:00
Denis Vlasenko
9356b5022c
preparatory patch for -Wwrite-strings #7 : sed
...
remaining: shell (rather scary mess in msh.c)
2007-01-29 23:44:38 +00:00
Denis Vlasenko
322661d025
preparatory patch for -Wwrite-strings #6
2007-01-29 23:43:52 +00:00
Denis Vlasenko
89ef65f024
preparatory patch for -Wwrite-strings #5
2007-01-29 23:43:18 +00:00
Denis Vlasenko
ab2aea4447
preparatory patch for -Wwrite-strings #4
2007-01-29 22:51:58 +00:00
Denis Vlasenko
06c0a71d23
preparatory patch for -Wwrite-strings #3
2007-01-29 22:51:44 +00:00
Denis Vlasenko
b6aae0f381
preparatory patch for -Wwrite-strings #2
2007-01-29 22:51:25 +00:00
Denis Vlasenko
a41fdf331a
preparatory patch for -Wwrite-strings #1
2007-01-29 22:51:00 +00:00
Denis Vlasenko
e935602ff5
taskset: fix incorrect rage spec and allow 0xXXX input
...
ping: shave off 60 bytes
2007-01-29 18:03:54 +00:00
Denis Vlasenko
86811803e3
add to testsuite and fix yet another sed corner case
2007-01-29 17:10:19 +00:00
Denis Vlasenko
c562bb7487
disable -Wold-style-definition for gcc 3.x
2007-01-29 17:08:51 +00:00
Denis Vlasenko
fe7a9f1277
sed: fix 2 bugs (one testsuite entry + one newly found)
...
but more importantly make code more understandable
2007-01-29 14:31:47 +00:00
Denis Vlasenko
826c85f382
fix all known regressions with sed and also make it simpler
2007-01-28 23:26:15 +00:00
Denis Vlasenko
dccb1a5343
wc can emit unpredictable amount of whitespace
2007-01-28 16:59:30 +00:00
Denis Vlasenko
afe488d4bc
work around gcc bug
2007-01-28 16:07:45 +00:00
Denis Vlasenko
9d938732d0
fix which-uses-default-path
2007-01-28 15:31:19 +00:00
Denis Vlasenko
4e1715f4b9
correct bad English
2007-01-28 14:51:32 +00:00
Bernhard Reutner-Fischer
2806b2368c
- reinstate static for the command string arrray to be gentle to gcc-3.x
2007-01-28 11:14:26 +00:00
Bernhard Reutner-Fischer
8ca35d2d65
- document the multicast argument for ip link
2007-01-28 00:39:30 +00:00
Bernhard Reutner-Fischer
4d9a358ec1
- use uint32_t as suggested by vda.
...
- minor size- and readability tweaks while at it:
text data bss dec hex filename
2631 0 0 2631 a47 networking/libiproute/iprule.o.orig
2596 0 0 2596 a24 networking/libiproute/iprule.o
2007-01-28 00:20:46 +00:00
Denis Vlasenko
6912ea1467
ether-wake: remove #warning
2007-01-27 23:18:58 +00:00
Denis Vlasenko
eeafc1a057
svlogd: batch writes if !timestamp
2007-01-27 23:15:50 +00:00
Denis Vlasenko
ca549c5e69
svlogd: remove unused buffering, stop doing tons of memcpy
2007-01-27 22:24:59 +00:00
Denis Vlasenko
bde74b617f
runit/* cleanup part 3 (just deleting unused code)
2007-01-27 22:22:53 +00:00
Denis Vlasenko
e2473f8c23
runit/* cleanup part 2
2007-01-27 22:22:17 +00:00
Denis Vlasenko
8c78395120
runit cleanup part 1
2007-01-27 22:21:52 +00:00
Denis Vlasenko
e06bed30cf
use bb_sanitize_stdio() where appropriate
2007-01-27 22:21:12 +00:00
Bernhard Reutner-Fischer
cd75a96f0f
- sum -r TODO should not print the filename as oposed to -s
...
Unfortunately, without rewriting sum, this bugfix adds 19 (!) bytes.
2007-01-27 22:11:28 +00:00
Bernhard Reutner-Fischer
14813c5943
- add a very few simple test for sum.
...
The very first is currently broken
2007-01-27 22:07:54 +00:00
Bernhard Reutner-Fischer
aae82e0d8b
- the testharness needs busybox.links. Now the new foobar.tests work again
2007-01-27 22:04:58 +00:00
Denis Vlasenko
9dca07d949
make it possible to build bbox without warnings again.
2007-01-27 14:03:15 +00:00
Denis Vlasenko
434ad5456b
fix warning in find.c
2007-01-27 13:45:17 +00:00
Denis Vlasenko
e0eebc1ef3
Make -Werror configurable
2007-01-27 13:44:53 +00:00
Denis Vlasenko
fd94efa41f
fix numbering in switch(): we don't have "del" anymore,
...
substring match on "delete" handles it ok. But we (I?)
forgot to renumber case labels...
2007-01-27 13:13:45 +00:00
Denis Vlasenko
5ff8f3d7fd
add link to post 1.4.1 patches
2007-01-26 23:35:12 +00:00
Denis Vlasenko
98c0bba09d
fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!
2007-01-26 23:31:05 +00:00
Denis Vlasenko
fc7f92253a
find: fix -mtime, -mmin, -perm (+ add symbolic perm handling)
...
chmod: better name for a variable
2007-01-26 23:00:05 +00:00
Denis Vlasenko
8b942c6639
fix "expr has no effect" warning
2007-01-26 22:55:12 +00:00
Denis Vlasenko
86724af484
bb_parse_mode: do not do umask() needlessly.
2007-01-26 22:54:01 +00:00
Bernhard Reutner-Fischer
f98d637ba4
- readahead depends on LFS
2007-01-26 09:03:23 +00:00
Mike Frysinger
5b6195c9bc
respect CFLAGS/CPPFLAGS in env
2007-01-26 07:14:01 +00:00
Denis Vlasenko
bc5262d3dd
fix option -F mishandling
2007-01-26 07:02:56 +00:00
Denis Vlasenko
a1042e94f1
fix non-ipv6 compile
2007-01-26 07:01:10 +00:00
Denis Vlasenko
30abe97940
announce 1.4.1
2007-01-25 21:10:43 +00:00
Denis Vlasenko
90ec4dc0c7
arping: stop using last gethostbyname2 in the tree
...
hostname: small optimization
2007-01-25 19:44:38 +00:00
Denis Vlasenko
aeb4bdd582
accidentally applied wrong (old) patch, fixing up...
2007-01-25 00:00:02 +00:00
Denis Vlasenko
581930cc0d
opt_complementary doesn't like numeric opts :(
2007-01-24 23:55:34 +00:00
Denis Vlasenko
b9a279ba94
Unify ping and ping6. ping has -4 and -6 which force
...
name resolution into IP or IPv6 only, otherwise
we take address family returned by host2sockaddr()
in lsa->sa.sa_family. IOW: "ping ::1" with do IPv6 ping,
"ping 127.0.0.1" will do IPv4 ping.
ping6 is aliased to "ping -6".
2007-01-24 23:53:22 +00:00