Age | Commit message (Collapse) | Author |
|
microscopic code improvements.
|
|
|
|
|
|
fix few corner cases, reduce size by 450 bytes. Update testsuite.
|
|
|
|
(patch by Gabriel L. Somlo <somlo@cmu.edu>)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libbb: rename xgetcwd and xreadlink
|
|
|
|
should make the output controllable either at runtime or buildtime as both statistics are quite useful
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
no preceding prototype
|
|
in busybox.h - this produces false dependencies
|
|
(patch from Gabriel L. Somlo <somlo@cmu.edu>)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hostname: small optimization
|
|
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".
|
|
|
|
|
|
and thus save a few bytes.
|
|
conversion purposefully
|
|
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED",
removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
|
|
sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
|
|
so rename stuff accordingly.
|
|
(make history and completion optional at runtime).
Use it for fdisk, as an example.
Some unrelated fixes in fdisk are also here.
|
|
|
|
Precaution
|
|
|
|
|
|
|