[Toybox] [PATCH] ls: fix recent regression.

enh enh at google.com
Thu Aug 29 13:07:15 PDT 2019


Commit c26870dab3462c6176936384b090df6b9ba46dee broke ls' error
reporting for files that don't exist. `ls $F` is used by some as an
equivalent of `test -e $F`.

This patch also adds a regression test.
---
 tests/ls.test   |  3 +++
 toys/posix/ls.c | 10 +++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ls-fix-recent-regression.patch
Type: text/x-patch
Size: 1801 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190829/bb444d4f/attachment.bin>


More information about the Toybox mailing list