[Toybox] [PATCH] find: fix -name corner case.

enh enh at google.com
Thu Aug 29 13:46:51 PDT 2019


This fixes the case where someone's done something (weird) like:

  find src/*.c -name foo.c

Previously the match would fail because one side of the comparison was
already a path.
---
 tests/find.test   | 3 +++
 toys/posix/find.c | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-find-fix-name-corner-case.patch
Type: text/x-patch
Size: 1420 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190829/117fb6aa/attachment-0002.bin>


More information about the Toybox mailing list