aboutsummaryrefslogtreecommitdiff
path: root/lib/fstream/win32/ostream.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-01-29 16:08:16 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-01-29 16:08:16 +0100
commit4e1d9aef948092778ff0559ee8a94d4365dab9cf (patch)
tree2a263ced03c2cbe44e96bedc47c8782f4fa2879b /lib/fstream/win32/ostream.c
parent8e1a2644968ce048feecd7f480ed4cce7dec7f6b (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/fstream/win32/ostream.c')
0 files changed, 0 insertions, 0 deletions