Denis Vlasenko [Tue, 30 Jan 2007 22:44:07 +0000 (22:44 -0000)]
lash: -Wwrite-strings fixes
Denis Vlasenko [Tue, 30 Jan 2007 22:32:09 +0000 (22:32 -0000)]
hush: style fixes
Denis Vlasenko [Tue, 30 Jan 2007 22:31:26 +0000 (22:31 -0000)]
hush: now it's -Wwrite-strings clean
Denis Vlasenko [Tue, 30 Jan 2007 22:30:09 +0000 (22:30 -0000)]
hush: style fixes
Denis Vlasenko [Tue, 30 Jan 2007 22:28:21 +0000 (22:28 -0000)]
hust: -Wwrite-strings fixes
Denis Vlasenko [Tue, 30 Jan 2007 22:25:16 +0000 (22:25 -0000)]
silly space saving in sed
Denis Vlasenko [Tue, 30 Jan 2007 01:11:36 +0000 (01:11 -0000)]
micro optimization
Denis Vlasenko [Tue, 30 Jan 2007 00:44:41 +0000 (00:44 -0000)]
preparatory patch for -Wwrite-strings #8 (missed part)
Bernhard Reutner-Fischer [Mon, 29 Jan 2007 23:56:13 +0000 (23:56 -0000)]
- improve spelling
Denis Vlasenko [Mon, 29 Jan 2007 23:44:38 +0000 (23:44 -0000)]
preparatory patch for -Wwrite-strings #7: sed
remaining: shell (rather scary mess in msh.c)
Denis Vlasenko [Mon, 29 Jan 2007 23:43:52 +0000 (23:43 -0000)]
preparatory patch for -Wwrite-strings #6
Denis Vlasenko [Mon, 29 Jan 2007 23:43:18 +0000 (23:43 -0000)]
preparatory patch for -Wwrite-strings #5
Denis Vlasenko [Mon, 29 Jan 2007 22:51:58 +0000 (22:51 -0000)]
preparatory patch for -Wwrite-strings #4
Denis Vlasenko [Mon, 29 Jan 2007 22:51:44 +0000 (22:51 -0000)]
preparatory patch for -Wwrite-strings #3
Denis Vlasenko [Mon, 29 Jan 2007 22:51:25 +0000 (22:51 -0000)]
preparatory patch for -Wwrite-strings #2
Denis Vlasenko [Mon, 29 Jan 2007 22:51:00 +0000 (22:51 -0000)]
preparatory patch for -Wwrite-strings #1
Denis Vlasenko [Mon, 29 Jan 2007 18:03:54 +0000 (18:03 -0000)]
taskset: fix incorrect rage spec and allow 0xXXX input
ping: shave off 60 bytes
Denis Vlasenko [Mon, 29 Jan 2007 17:10:19 +0000 (17:10 -0000)]
add to testsuite and fix yet another sed corner case
Denis Vlasenko [Mon, 29 Jan 2007 17:08:51 +0000 (17:08 -0000)]
disable -Wold-style-definition for gcc 3.x
Denis Vlasenko [Mon, 29 Jan 2007 14:31:47 +0000 (14:31 -0000)]
sed: fix 2 bugs (one testsuite entry + one newly found)
but more importantly make code more understandable
Denis Vlasenko [Sun, 28 Jan 2007 23:26:15 +0000 (23:26 -0000)]
fix all known regressions with sed and also make it simpler
Denis Vlasenko [Sun, 28 Jan 2007 16:59:30 +0000 (16:59 -0000)]
wc can emit unpredictable amount of whitespace
Denis Vlasenko [Sun, 28 Jan 2007 16:07:45 +0000 (16:07 -0000)]
work around gcc bug
Denis Vlasenko [Sun, 28 Jan 2007 15:31:19 +0000 (15:31 -0000)]
fix which-uses-default-path
Denis Vlasenko [Sun, 28 Jan 2007 14:51:32 +0000 (14:51 -0000)]
correct bad English
Bernhard Reutner-Fischer [Sun, 28 Jan 2007 11:14:26 +0000 (11:14 -0000)]
- reinstate static for the command string arrray to be gentle to gcc-3.x
Bernhard Reutner-Fischer [Sun, 28 Jan 2007 00:39:30 +0000 (00:39 -0000)]
- document the multicast argument for ip link
Bernhard Reutner-Fischer [Sun, 28 Jan 2007 00:20:46 +0000 (00:20 -0000)]
- 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
Denis Vlasenko [Sat, 27 Jan 2007 23:18:58 +0000 (23:18 -0000)]
ether-wake: remove #warning
Denis Vlasenko [Sat, 27 Jan 2007 23:15:50 +0000 (23:15 -0000)]
svlogd: batch writes if !timestamp
Denis Vlasenko [Sat, 27 Jan 2007 22:24:59 +0000 (22:24 -0000)]
svlogd: remove unused buffering, stop doing tons of memcpy
Denis Vlasenko [Sat, 27 Jan 2007 22:22:53 +0000 (22:22 -0000)]
runit/* cleanup part 3 (just deleting unused code)
Denis Vlasenko [Sat, 27 Jan 2007 22:22:17 +0000 (22:22 -0000)]
runit/* cleanup part 2
Denis Vlasenko [Sat, 27 Jan 2007 22:21:52 +0000 (22:21 -0000)]
runit cleanup part 1
Denis Vlasenko [Sat, 27 Jan 2007 22:21:12 +0000 (22:21 -0000)]
use bb_sanitize_stdio() where appropriate
Bernhard Reutner-Fischer [Sat, 27 Jan 2007 22:11:28 +0000 (22:11 -0000)]
- sum -r TODO should not print the filename as oposed to -s
Unfortunately, without rewriting sum, this bugfix adds 19 (!) bytes.
Bernhard Reutner-Fischer [Sat, 27 Jan 2007 22:07:54 +0000 (22:07 -0000)]
- add a very few simple test for sum.
The very first is currently broken
Bernhard Reutner-Fischer [Sat, 27 Jan 2007 22:04:58 +0000 (22:04 -0000)]
- the testharness needs busybox.links. Now the new foobar.tests work again
Denis Vlasenko [Sat, 27 Jan 2007 14:03:15 +0000 (14:03 -0000)]
make it possible to build bbox without warnings again.
Denis Vlasenko [Sat, 27 Jan 2007 13:45:17 +0000 (13:45 -0000)]
fix warning in find.c
Denis Vlasenko [Sat, 27 Jan 2007 13:44:53 +0000 (13:44 -0000)]
Make -Werror configurable
Denis Vlasenko [Sat, 27 Jan 2007 13:13:45 +0000 (13:13 -0000)]
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...
Denis Vlasenko [Fri, 26 Jan 2007 23:35:12 +0000 (23:35 -0000)]
add link to post 1.4.1 patches
Denis Vlasenko [Fri, 26 Jan 2007 23:31:05 +0000 (23:31 -0000)]
fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!
Denis Vlasenko [Fri, 26 Jan 2007 23:00:05 +0000 (23:00 -0000)]
find: fix -mtime, -mmin, -perm (+ add symbolic perm handling)
chmod: better name for a variable
Denis Vlasenko [Fri, 26 Jan 2007 22:55:12 +0000 (22:55 -0000)]
fix "expr has no effect" warning
Denis Vlasenko [Fri, 26 Jan 2007 22:54:01 +0000 (22:54 -0000)]
bb_parse_mode: do not do umask() needlessly.
Bernhard Reutner-Fischer [Fri, 26 Jan 2007 09:03:23 +0000 (09:03 -0000)]
- readahead depends on LFS
Mike Frysinger [Fri, 26 Jan 2007 07:14:01 +0000 (07:14 -0000)]
respect CFLAGS/CPPFLAGS in env
Denis Vlasenko [Fri, 26 Jan 2007 07:02:56 +0000 (07:02 -0000)]
fix option -F mishandling
Denis Vlasenko [Fri, 26 Jan 2007 07:01:10 +0000 (07:01 -0000)]
fix non-ipv6 compile
Denis Vlasenko [Thu, 25 Jan 2007 21:10:43 +0000 (21:10 -0000)]
announce 1.4.1
Denis Vlasenko [Thu, 25 Jan 2007 19:44:38 +0000 (19:44 -0000)]
arping: stop using last gethostbyname2 in the tree
hostname: small optimization
Denis Vlasenko [Thu, 25 Jan 2007 00:00:02 +0000 (00:00 -0000)]
accidentally applied wrong (old) patch, fixing up...
Denis Vlasenko [Wed, 24 Jan 2007 23:55:34 +0000 (23:55 -0000)]
opt_complementary doesn't like numeric opts :(
Denis Vlasenko [Wed, 24 Jan 2007 23:53:22 +0000 (23:53 -0000)]
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".
Denis Vlasenko [Wed, 24 Jan 2007 22:12:35 +0000 (22:12 -0000)]
hostname declaration was misplaced
Denis Vlasenko [Wed, 24 Jan 2007 22:02:01 +0000 (22:02 -0000)]
accumulated post-1.4.0 fixes
Bernhard Reutner-Fischer [Wed, 24 Jan 2007 21:38:10 +0000 (21:38 -0000)]
- remove nested function. Saves ~30 bytes.
Bernhard Reutner-Fischer [Wed, 24 Jan 2007 21:13:16 +0000 (21:13 -0000)]
- TODO: merge 'struct suffix_mult $several_suffixes[] into a struct suffix_mult
for several in head tail od_bloaty hexdump svlogd
Mike Frysinger [Wed, 24 Jan 2007 14:50:27 +0000 (14:50 -0000)]
combine depends lines
Mike Frysinger [Wed, 24 Jan 2007 14:34:35 +0000 (14:34 -0000)]
as Peter Kjellerstedt points out, bool/prompt/depend need to be split up in order to achieve the desired behavior (default to Y without a prompt); revert previous to commits to this file
Mike Frysinger [Wed, 24 Jan 2007 12:16:08 +0000 (12:16 -0000)]
change "bool ... if OPT" to more common "depend ... OPT"
Mike Frysinger [Wed, 24 Jan 2007 09:32:42 +0000 (09:32 -0000)]
combine bool;prompt to just bool
Mike Frysinger [Wed, 24 Jan 2007 09:32:19 +0000 (09:32 -0000)]
combine bool;prompt to just bool
Mike Frysinger [Wed, 24 Jan 2007 09:14:09 +0000 (09:14 -0000)]
"depends ..." -> "depends on ..."
Mike Frysinger [Wed, 24 Jan 2007 08:24:43 +0000 (08:24 -0000)]
correct file format errors
Bernhard Reutner-Fischer [Tue, 23 Jan 2007 11:44:14 +0000 (11:44 -0000)]
- add hostcc-option checker
Bernhard Reutner-Fischer [Tue, 23 Jan 2007 11:39:13 +0000 (11:39 -0000)]
- call cc-option to check if the compiler supports the flags we asked to use
Bernhard Reutner-Fischer [Tue, 23 Jan 2007 01:29:04 +0000 (01:29 -0000)]
- add an unsupported makefile for IMA compiles
Nice for catching eventual breakage early on..
Bernhard Reutner-Fischer [Tue, 23 Jan 2007 01:27:17 +0000 (01:27 -0000)]
- rtnl_rttable_a2n wants an unsigned int32
Denis Vlasenko [Mon, 22 Jan 2007 23:39:08 +0000 (23:39 -0000)]
add link to fixes-1.4.0
Denis Vlasenko [Mon, 22 Jan 2007 23:04:27 +0000 (23:04 -0000)]
fix warning from needlessly-global functions
Denis Vlasenko [Mon, 22 Jan 2007 22:47:07 +0000 (22:47 -0000)]
remove empty source files
Denis Vlasenko [Mon, 22 Jan 2007 22:46:04 +0000 (22:46 -0000)]
clean up commented out old code
Denis Vlasenko [Mon, 22 Jan 2007 22:45:27 +0000 (22:45 -0000)]
ping6: stop using xgethostbyname2, remove it from libbb.
Denis Vlasenko [Mon, 22 Jan 2007 22:43:05 +0000 (22:43 -0000)]
nslookup: full circle. Here we started IPv6 work. Use "new API"
and thus save a few bytes.
Bernhard Reutner-Fischer [Mon, 22 Jan 2007 17:50:21 +0000 (17:50 -0000)]
- add more strict prototype checking to catch wrong and broken code (like nested functions)
Bernhard Reutner-Fischer [Mon, 22 Jan 2007 17:48:08 +0000 (17:48 -0000)]
- the archivers expect mode to be a mode_t, so do not trip signed/unsigned conversion purposefully
Bernhard Reutner-Fischer [Mon, 22 Jan 2007 17:42:37 +0000 (17:42 -0000)]
- forgot to include ip_common.h
Bernhard Reutner-Fischer [Mon, 22 Jan 2007 17:12:56 +0000 (17:12 -0000)]
- not sure if we want a timestamp there, so put one in
Bernhard Reutner-Fischer [Mon, 22 Jan 2007 17:04:53 +0000 (17:04 -0000)]
- sed -i -e "/\$Id:/d;"
Denis Vlasenko [Mon, 22 Jan 2007 14:12:08 +0000 (14:12 -0000)]
cleanups: unnecessary casts, unified const_1, eliminate cross-.c file
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED",
removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
Denis Vlasenko [Mon, 22 Jan 2007 14:06:03 +0000 (14:06 -0000)]
dnsd: getfileentry was leaking memory
mount: improve readability
Denis Vlasenko [Mon, 22 Jan 2007 14:04:27 +0000 (14:04 -0000)]
exterminate u_intXXX.
fix ping6 buglet (memset is too short), minor sync between ping and ping6
Denis Vlasenko [Mon, 22 Jan 2007 09:36:41 +0000 (09:36 -0000)]
comment out unused old networking API parts
sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
Denis Vlasenko [Mon, 22 Jan 2007 09:14:02 +0000 (09:14 -0000)]
remove obsolete FEATURE_WGET_IP6_LITERAL
Denis Vlasenko [Mon, 22 Jan 2007 09:12:15 +0000 (09:12 -0000)]
defconfig: refresh
Denis Vlasenko [Mon, 22 Jan 2007 09:03:42 +0000 (09:03 -0000)]
move shell/cmdedit.c -> libbb/lineedit.c
Denis Vlasenko [Mon, 22 Jan 2007 09:03:07 +0000 (09:03 -0000)]
cmdedit is not a 'command' editing anymore, it's just editing (generic),
so rename stuff accordingly.
Denis Vlasenko [Mon, 22 Jan 2007 08:34:44 +0000 (08:34 -0000)]
cmdedit: fix breakage
Denis Vlasenko [Mon, 22 Jan 2007 08:17:14 +0000 (08:17 -0000)]
cmdedit.h: remove
Denis Vlasenko [Mon, 22 Jan 2007 07:30:26 +0000 (07:30 -0000)]
cmdedit: stop playing dirty games with atexit
Denis Vlasenko [Mon, 22 Jan 2007 07:21:38 +0000 (07:21 -0000)]
Convert cmdedit into more generic line input facility
(make history and completion optional at runtime).
Use it for fdisk, as an example.
Some unrelated fixes in fdisk are also here.
Denis Vlasenko [Sun, 21 Jan 2007 19:21:21 +0000 (19:21 -0000)]
Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disable
less-known keys (e.g. Ctrl-B/E/F)
Denis Vlasenko [Sun, 21 Jan 2007 19:19:46 +0000 (19:19 -0000)]
cmdedit: more optimizations
Denis Vlasenko [Sun, 21 Jan 2007 19:18:59 +0000 (19:18 -0000)]
cmdedit: small optimizations
Denis Vlasenko [Sun, 21 Jan 2007 19:18:19 +0000 (19:18 -0000)]
sanitize cmdedit a bit (group functions by task etc)
Bernhard Reutner-Fischer [Sun, 21 Jan 2007 11:20:01 +0000 (11:20 -0000)]
- use makedev to get device number, else it gives wrong major/minor numbers to devices files on systems which use big device numbers.
Closes #919
Denis Vlasenko [Sun, 21 Jan 2007 00:41:04 +0000 (00:41 -0000)]
Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our own
executable if we asked to exec someting with argv[0] == known_applet"
Use it in init. Also respect PATH in init, remove explicit "/sbin" etc
from exec. Patch by Gabriel L. Somlo <somlo@cmu.edu>