4e1715f4b9
correct bad English
Denis Vlasenko
2007-01-28 14:51:32 +00:00
2806b2368c
- reinstate static for the command string arrray to be gentle to gcc-3.x
Bernhard Reutner-Fischer
2007-01-28 11:14:26 +00:00
8ca35d2d65
- document the multicast argument for ip link
Bernhard Reutner-Fischer
2007-01-28 00:39:30 +00:00
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
Bernhard Reutner-Fischer
2007-01-28 00:20:46 +00:00
e2473f8c23
runit/* cleanup part 2
Denis Vlasenko
2007-01-27 22:22:17 +00:00
8c78395120
runit cleanup part 1
Denis Vlasenko
2007-01-27 22:21:52 +00:00
e06bed30cf
use bb_sanitize_stdio() where appropriate
Denis Vlasenko
2007-01-27 22:21:12 +00:00
cd75a96f0f
- sum -r TODO should not print the filename as oposed to -s Unfortunately, without rewriting sum, this bugfix adds 19 (!) bytes.
Bernhard Reutner-Fischer
2007-01-27 22:11:28 +00:00
14813c5943
- add a very few simple test for sum. The very first is currently broken
Bernhard Reutner-Fischer
2007-01-27 22:07:54 +00:00
aae82e0d8b
- the testharness needs busybox.links. Now the new foobar.tests work again
Bernhard Reutner-Fischer
2007-01-27 22:04:58 +00:00
9dca07d949
make it possible to build bbox without warnings again.
Denis Vlasenko
2007-01-27 14:03:15 +00:00
434ad5456b
fix warning in find.c
Denis Vlasenko
2007-01-27 13:45:17 +00:00
e0eebc1ef3
Make -Werror configurable
Denis Vlasenko
2007-01-27 13:44:53 +00:00
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...
Denis Vlasenko
2007-01-27 13:13:45 +00:00
5ff8f3d7fd
add link to post 1.4.1 patches
Denis Vlasenko
2007-01-26 23:35:12 +00:00
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".
Denis Vlasenko
2007-01-24 23:53:22 +00:00
677cb5eea5
hostname declaration was misplaced
Denis Vlasenko
2007-01-24 22:12:35 +00:00
7b1c5aacb0
- TODO: merge 'struct suffix_mult $several_suffixes[] into a struct suffix_mult for several in head tail od_bloaty hexdump svlogd
Bernhard Reutner-Fischer
2007-01-24 21:13:16 +00:00
0e282c9aed
combine depends lines
Mike Frysinger
2007-01-24 14:50:27 +00:00
11353ae0ab
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
2007-01-24 14:34:35 +00:00
a01579d4eb
change "bool ... if OPT" to more common "depend ... OPT"
Mike Frysinger
2007-01-24 12:16:08 +00:00
6cda89700e
combine bool;prompt to just bool
Mike Frysinger
2007-01-24 09:32:42 +00:00
841ef1308b
combine bool;prompt to just bool
Mike Frysinger
2007-01-24 09:32:19 +00:00
08e7097340
"depends ..." -> "depends on ..."
Mike Frysinger
2007-01-24 09:14:09 +00:00
71a6a4e723
correct file format errors
Mike Frysinger
2007-01-24 08:24:43 +00:00
1c747b32c7
- add hostcc-option checker
Bernhard Reutner-Fischer
2007-01-23 11:44:14 +00:00
82f8788acc
- call cc-option to check if the compiler supports the flags we asked to use
Bernhard Reutner-Fischer
2007-01-23 11:39:13 +00:00
b5bb40f088
- add an unsupported makefile for IMA compiles Nice for catching eventual breakage early on..
Bernhard Reutner-Fischer
2007-01-23 01:29:04 +00:00
425997223c
- rtnl_rttable_a2n wants an unsigned int32
Bernhard Reutner-Fischer
2007-01-23 01:27:17 +00:00
52848eecca
add link to fixes-1.4.0
Denis Vlasenko
2007-01-22 23:39:08 +00:00
5de9e9ce0b
clean up commented out old code
Denis Vlasenko
2007-01-22 22:46:04 +00:00
9adc6ced4f
ping6: stop using xgethostbyname2, remove it from libbb.
Denis Vlasenko
2007-01-22 22:45:27 +00:00
448f0241e0
nslookup: full circle. Here we started IPv6 work. Use "new API" and thus save a few bytes.
Denis Vlasenko
2007-01-22 22:43:05 +00:00
fdcd7c4237
- add more strict prototype checking to catch wrong and broken code (like nested functions)
Bernhard Reutner-Fischer
2007-01-22 17:50:21 +00:00
835f575b61
- the archivers expect mode to be a mode_t, so do not trip signed/unsigned conversion purposefully
Bernhard Reutner-Fischer
2007-01-22 17:48:08 +00:00
620e57b421
- forgot to include ip_common.h
Bernhard Reutner-Fischer
2007-01-22 17:42:37 +00:00
d0f33b3ce8
- not sure if we want a timestamp there, so put one in
Bernhard Reutner-Fischer
2007-01-22 17:12:56 +00:00
bb8c7c041c
- sed -i -e "/\$Id:/d;"
Bernhard Reutner-Fischer
2007-01-22 17:04:53 +00:00
703e20235a
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
2007-01-22 14:12:08 +00:00
35d4da0fb5
exterminate u_intXXX. fix ping6 buglet (memset is too short), minor sync between ping and ping6
Denis Vlasenko
2007-01-22 14:04:27 +00:00
85629f08bc
comment out unused old networking API parts sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
Denis Vlasenko
2007-01-22 09:36:41 +00:00
38f6319421
cmdedit is not a 'command' editing anymore, it's just editing (generic), so rename stuff accordingly.
Denis Vlasenko
2007-01-22 09:03:07 +00:00
6258fd3454
cmdedit: stop playing dirty games with atexit
Denis Vlasenko
2007-01-22 07:30:26 +00:00
8e1c71529c
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
2007-01-22 07:21:38 +00:00
00cdbd8fc2
Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disable less-known keys (e.g. Ctrl-B/E/F)
Denis Vlasenko
2007-01-21 19:21:21 +00:00
5592fac308
cmdedit: more optimizations
Denis Vlasenko
2007-01-21 19:19:46 +00:00
47bdb3ac48
cmdedit: small optimizations
Denis Vlasenko
2007-01-21 19:18:59 +00:00
82b39e83ab
sanitize cmdedit a bit (group functions by task etc)
Denis Vlasenko
2007-01-21 19:18:19 +00:00
7b1f23610f
- 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
Bernhard Reutner-Fischer
2007-01-21 11:20:01 +00:00
2f0c0d0b88
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>
Denis Vlasenko
2007-01-21 00:41:04 +00:00
b3f3c23f78
- point to correct version. Thanks to Yann E. MORIN.
Bernhard Reutner-Fischer
2007-01-20 21:46:20 +00:00
12f96c1cec
- make tty's pre SUSv3 option handling dependant on INCLUDE_SUSv2
Bernhard Reutner-Fischer
2007-01-20 21:34:24 +00:00
af45760cca
- get_terminal_width_height does not and should never write to fd. Cosmetic Precaution
Bernhard Reutner-Fischer
2007-01-20 21:33:50 +00:00
d19f4aaa21
- small size tweak
Bernhard Reutner-Fischer
2007-01-20 21:32:38 +00:00
1118a1de46
- make pre SUSv3 option handling dependant on INCLUDE_SUSv2
Bernhard Reutner-Fischer
2007-01-20 21:32:20 +00:00
8b1ae45037
- small size tweak
Bernhard Reutner-Fischer
2007-01-20 21:31:21 +00:00
b31c252860
- reuse retval for the option handling. - TODO add tee, readahead and splice support to uClibc and use it in busybox!
Bernhard Reutner-Fischer
2007-01-20 21:30:49 +00:00
088a212bf5
- small size tweaks
Bernhard Reutner-Fischer
2007-01-20 21:29:50 +00:00
ca5b35299e
- make read_stduu() and read_base64() void, small size tweaks
Bernhard Reutner-Fischer
2007-01-20 21:29:32 +00:00
d58c19479d
- small size tweak
Bernhard Reutner-Fischer
2007-01-20 21:28:36 +00:00
a8e2e1872a
- add C99 bool type for setups that support it.
Bernhard Reutner-Fischer
2007-01-20 21:27:18 +00:00
312735878b
Announce 1.3.2 and 1.4.0 on busybox.net
Denis Vlasenko
2007-01-20 20:38:57 +00:00
12a3917e45
head is 1.5.0.svn now
Denis Vlasenko
2007-01-20 20:02:29 +00:00
91f20ab510
fixes for amd64 compilation
Denis Vlasenko
2007-01-20 01:47:44 +00:00
e055443412
ls: stop doing time() for each file in "ls -l" ls: use fully-buffered stdout (can it be problematic on VERY slow/hanging NFS mounts?)
Denis Vlasenko
2007-01-19 22:03:06 +00:00
2405ad659e
ls: use get_cached_username/groupname
Denis Vlasenko
2007-01-19 21:24:17 +00:00
9af7c9d6b6
openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
Denis Vlasenko
2007-01-19 21:19:35 +00:00
f8c11aa65d
fsck: dead code removal; also disable progress indicator code (doesn't look good to me)
Denis Vlasenko
2007-01-19 02:04:09 +00:00
e18a293a52
fsck: stop using strtok
Denis Vlasenko
2007-01-19 02:03:14 +00:00
1abf91aa25
fsck: move functions around so that related ones are nearby no actual code changes
Denis Vlasenko
2007-01-19 02:02:33 +00:00