[Toybox] [PATCH] file, stat: various small improvements.
enh
enh at google.com
Thu Jun 27 13:40:07 PDT 2019
file now shows the target of a symbolic link and calls out broken
symbolic links.
file now shows the device type for block/character special files.
file now shows specific reason when it can't open.
stat now includes the device type, plus a little more space between the
number of blocks and the human-readable file type.
Adjusted tests accordingly, which actually makes more of them pass on
the host as a convenient side-effect, but I actually made these changes
because I've been finding the desktop file and stat output more convenient
in these cases.
---
tests/file.test | 10 +++++++---
toys/other/stat.c | 4 ++--
toys/posix/file.c | 20 +++++++++++++-------
3 files changed, 22 insertions(+), 12 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-file-stat-various-small-improvements.patch
Type: text/x-patch
Size: 4904 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190627/caac7536/attachment-0002.bin>
More information about the Toybox
mailing list