aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2013-07-04 13:41:03 +0300
committerLasse Collin <lasse.collin@tukaani.org>2013-07-04 13:41:03 +0300
commitfa381acaf9a29a8114e1c0a97de99bab9adb014e (patch)
treed2b354ba247c1079f239272f00513eaecb036c49 /src
parentxz: Fix the test when to read more input. (diff)
downloadxz-fa381acaf9a29a8114e1c0a97de99bab9adb014e.tar.xz
xz: Don't set src_eof=true after an I/O error because it's useless.
Diffstat (limited to 'src')
-rw-r--r--src/xz/file_io.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index 9db7dc58..921f79d1 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -1011,9 +1011,6 @@ io_read(file_pair *pair, io_buf *buf_union, size_t size)
message_error(_("%s: Read error: %s"),
pair->src_name, strerror(errno));
- // FIXME Is this needed?
- pair->src_eof = true;
-
return SIZE_MAX;
}