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
Denis Vlasenko
677cb5eea5
hostname declaration was misplaced
2007-01-24 22:12:35 +00:00
Denis Vlasenko
218f2f4882
accumulated post-1.4.0 fixes
2007-01-24 22:02:01 +00:00
Bernhard Reutner-Fischer
84d2d493b4
- remove nested function. Saves ~30 bytes.
2007-01-24 21:38:10 +00:00
Bernhard Reutner-Fischer
7b1c5aacb0
- TODO: merge 'struct suffix_mult $several_suffixes[] into a struct suffix_mult
...
for several in head tail od_bloaty hexdump svlogd
2007-01-24 21:13:16 +00:00
Mike Frysinger
0e282c9aed
combine depends lines
2007-01-24 14:50:27 +00:00
Mike Frysinger
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
2007-01-24 14:34:35 +00:00
Mike Frysinger
a01579d4eb
change "bool ... if OPT" to more common "depend ... OPT"
2007-01-24 12:16:08 +00:00
Mike Frysinger
6cda89700e
combine bool;prompt to just bool
2007-01-24 09:32:42 +00:00
Mike Frysinger
841ef1308b
combine bool;prompt to just bool
2007-01-24 09:32:19 +00:00
Mike Frysinger
08e7097340
"depends ..." -> "depends on ..."
2007-01-24 09:14:09 +00:00
Mike Frysinger
71a6a4e723
correct file format errors
2007-01-24 08:24:43 +00:00
Bernhard Reutner-Fischer
1c747b32c7
- add hostcc-option checker
2007-01-23 11:44:14 +00:00
Bernhard Reutner-Fischer
82f8788acc
- call cc-option to check if the compiler supports the flags we asked to use
2007-01-23 11:39:13 +00:00
Bernhard Reutner-Fischer
b5bb40f088
- add an unsupported makefile for IMA compiles
...
Nice for catching eventual breakage early on..
2007-01-23 01:29:04 +00:00
Bernhard Reutner-Fischer
425997223c
- rtnl_rttable_a2n wants an unsigned int32
2007-01-23 01:27:17 +00:00
Denis Vlasenko
52848eecca
add link to fixes-1.4.0
2007-01-22 23:39:08 +00:00
Denis Vlasenko
769d1e05e6
fix warning from needlessly-global functions
2007-01-22 23:04:27 +00:00
Denis Vlasenko
d77f7c3136
remove empty source files
2007-01-22 22:47:07 +00:00
Denis Vlasenko
5de9e9ce0b
clean up commented out old code
2007-01-22 22:46:04 +00:00
Denis Vlasenko
9adc6ced4f
ping6: stop using xgethostbyname2, remove it from libbb.
2007-01-22 22:45:27 +00:00
Denis Vlasenko
448f0241e0
nslookup: full circle. Here we started IPv6 work. Use "new API"
...
and thus save a few bytes.
2007-01-22 22:43:05 +00:00
Bernhard Reutner-Fischer
fdcd7c4237
- add more strict prototype checking to catch wrong and broken code (like nested functions)
2007-01-22 17:50:21 +00:00
Bernhard Reutner-Fischer
835f575b61
- the archivers expect mode to be a mode_t, so do not trip signed/unsigned conversion purposefully
2007-01-22 17:48:08 +00:00
Bernhard Reutner-Fischer
620e57b421
- forgot to include ip_common.h
2007-01-22 17:42:37 +00:00
Bernhard Reutner-Fischer
d0f33b3ce8
- not sure if we want a timestamp there, so put one in
2007-01-22 17:12:56 +00:00
Bernhard Reutner-Fischer
bb8c7c041c
- sed -i -e "/\$Id:/d;"
2007-01-22 17:04:53 +00:00
Denis Vlasenko
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.
2007-01-22 14:12:08 +00:00
Denis Vlasenko
6cd2d2bcba
dnsd: getfileentry was leaking memory
...
mount: improve readability
2007-01-22 14:06:03 +00:00
Denis Vlasenko
35d4da0fb5
exterminate u_intXXX.
...
fix ping6 buglet (memset is too short), minor sync between ping and ping6
2007-01-22 14:04:27 +00:00
Denis Vlasenko
85629f08bc
comment out unused old networking API parts
...
sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
2007-01-22 09:36:41 +00:00
Denis Vlasenko
3c99a59915
remove obsolete FEATURE_WGET_IP6_LITERAL
2007-01-22 09:14:02 +00:00
Denis Vlasenko
d8760a705c
defconfig: refresh
2007-01-22 09:12:15 +00:00
Denis Vlasenko
95fef7071e
move shell/cmdedit.c -> libbb/lineedit.c
2007-01-22 09:03:42 +00:00
Denis Vlasenko
38f6319421
cmdedit is not a 'command' editing anymore, it's just editing (generic),
...
so rename stuff accordingly.
2007-01-22 09:03:07 +00:00
Denis Vlasenko
253ce00296
cmdedit: fix breakage
2007-01-22 08:34:44 +00:00
Denis Vlasenko
b01b4e2a1f
cmdedit.h: remove
2007-01-22 08:17:14 +00:00
Denis Vlasenko
6258fd3454
cmdedit: stop playing dirty games with atexit
2007-01-22 07:30:26 +00:00
Denis Vlasenko
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.
2007-01-22 07:21:38 +00:00
Denis Vlasenko
00cdbd8fc2
Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disable
...
less-known keys (e.g. Ctrl-B/E/F)
2007-01-21 19:21:21 +00:00
Denis Vlasenko
5592fac308
cmdedit: more optimizations
2007-01-21 19:19:46 +00:00
Denis Vlasenko
47bdb3ac48
cmdedit: small optimizations
2007-01-21 19:18:59 +00:00
Denis Vlasenko
82b39e83ab
sanitize cmdedit a bit (group functions by task etc)
2007-01-21 19:18:19 +00:00
Bernhard Reutner-Fischer
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
2007-01-21 11:20:01 +00:00
Denis Vlasenko
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>
2007-01-21 00:41:04 +00:00
Bernhard Reutner-Fischer
b3f3c23f78
- point to correct version. Thanks to Yann E. MORIN.
2007-01-20 21:46:20 +00:00