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(-)
0001-xxd-r-don-t-seek-unnecessarily-on-the-output-stream.patch
Description: Binary data
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
