[Toybox] [PATCH] Support diff --no-dereference

Daniel Rosenberg drosen at google.com
Fri Aug 9 17:52:07 PDT 2024


diff --no-dereference causes diff to not follow symlinks, instead comparing
the link name.

Added some basic tests.
---
 lib/lib.h           |  1 +
 lib/xwrap.c         |  5 +++
 tests/diff.test     |  7 ++++
 toys/pending/diff.c | 96 +++++++++++++++++++++++++++++++++++----------
 4 files changed, 88 insertions(+), 21 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-diff-no-dereference.patch
Type: text/x-patch
Size: 10201 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240809/f39643c1/attachment.bin>


More information about the Toybox mailing list