aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/tar.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-02-06 12:47:59 -0800
committerRob Landley <rob@landley.net>2021-02-06 19:32:03 -0600
commit859764984485fd0d7f92b0f49430832c3d95888e (patch)
treec94effc530cd743785a413fc03acc351cd39f976 /toys/posix/tar.c
parent7ed7ff8386cc982ec9e334332f853e9e1f0bcfc6 (diff)
downloadtoybox-859764984485fd0d7f92b0f49430832c3d95888e.tar.gz
netstat: various fixes.
Avoid fgets() into toybuf other than to skip header lines, preferring fscanf() or xgetline() instead. Remove the early returns if we fail to skip a header line (fixes #62). Fix `netstat -xl` which was previously broken (because only -a would include listening sockets). Fix a variety of formatting issues, bringing the diff between toybox netstat and net-tools netstat down (which was what I used for testing). Use FLAG() more consistently.
Diffstat (limited to 'toys/posix/tar.c')
0 files changed, 0 insertions, 0 deletions