diff options
Diffstat (limited to '')
-rw-r--r-- | src/xz/file_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c index 7e9a4e67..98918034 100644 --- a/src/xz/file_io.c +++ b/src/xz/file_io.c @@ -750,6 +750,7 @@ io_open_src(const char *src_name) .dest_fd = -1, .src_eof = false, .src_has_seen_input = false, + .flush_needed = false, .dest_try_sparse = false, .dest_pending_sparse = 0, }; @@ -1150,7 +1151,7 @@ io_read(file_pair *pair, io_buf *buf, size_t size) return SIZE_MAX; case IO_WAIT_TIMEOUT: - flush_needed = true; + pair->flush_needed = true; return pos; default: |