[Toybox] [PATCH] diff: fix diff of stdin for systems without /tmp.

enh enh at google.com
Mon Jun 24 08:53:43 PDT 2019


ping...

(fixes the diff tests on Android.)

On Sat, Jun 22, 2019 at 11:24 AM enh <enh at google.com> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190624/1cfe89c6/attachment-0001.htm>


More information about the Toybox mailing list