Age | Commit message (Collapse) | Author |
|
Rename the existing xbind/xconnect to xbindany/xconnectany, to make room
for new xbind/xconnect that are more like 'x' versions of the regular
bind and connect. Move explicit bind/connect callers over to
xbind/xconnect.
Of the affected commands, only netcat is actually used by Android. It
was the most recent patch to netcat that made the lack of a more
traditional xbind/xconnect apparent.
|
|
|
|
|
|
|
|
xparsetime() not to need floating point, adjust callers.
|
|
From eyeballing the output of
for i in `./toybox | tr " " "\n"` ; do ./toybox $i --help ; done | \
grep '^-' | grep -v "\t"
|
|
and trim -W default to 3 seconds (so "time ping 1.2.3.4" says 5 seconds).
|
|
|
|
wonky was Dennis Ritche's one public regret about C
(see https://www.lysator.liu.se/c/dmr-on-or.html).
|
|
Sadly, this is what existing scripts seem to do.
|
|
Bug: http://b/28027677 toybox ping doesn't support -m mark
Test: strace -e setsockopt ./toybox ping -c 1 -m 0x1000 127.0.0.1
|
|
|