[Toybox] [PATCH] diff: fix diff of stdin for systems without /tmp.
enh
enh at google.com
Sat Jun 22 11:24:23 PDT 2019
xtempfile() alreay does the right thing, so switch to that.
Also use xsendfile() for the actual copying.
Fixes the cat tests on Android.
---
toys/pending/diff.c | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-diff-fix-diff-of-stdin-for-systems-without-tmp.patch
Type: text/x-patch
Size: 1250 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190622/dbfcbc97/attachment-0002.bin>
More information about the Toybox
mailing list