[Toybox] [PATCH] xxd -r: don't seek unnecessarily on the output stream.
enh
enh at google.com
Tue May 3 09:36:55 PDT 2022
Also add a dup() to fix a double close() noticed in strace when looking at
the lseek() issue...
Fixes: https://github.com/landley/toybox/issues/338
---
tests/xxd.test | 4 ++++
toys/other/xxd.c | 6 ++++--
2 files changed, 8 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xxd-r-don-t-seek-unnecessarily-on-the-output-stream.patch
Type: application/octet-stream
Size: 2078 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20220503/87af5ab0/attachment.obj>
More information about the Toybox
mailing list