diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-01-29 16:08:16 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-01-29 16:08:16 +0100 |
commit | 4e1d9aef948092778ff0559ee8a94d4365dab9cf (patch) | |
tree | 2a263ced03c2cbe44e96bedc47c8782f4fa2879b /lib/sqfs/block_processor/backend.c | |
parent | 8e1a2644968ce048feecd7f480ed4cce7dec7f6b (diff) |
Fix: libfstream: don't fail on Windows when reading from a pipe
When piping the output of another program into tar2sqfs.exe, and
the source program terminates, tar2sqfs.exe gets an ERROR_BROKEN_PIPE
when the end is reached and it trys to pre-cache more data. This
commit adds a work around, to propperly handle this as and end-of-file
condition.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/block_processor/backend.c')
0 files changed, 0 insertions, 0 deletions