diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2013-07-04 13:41:03 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2013-07-04 13:41:03 +0300 |
commit | fa381acaf9a29a8114e1c0a97de99bab9adb014e (patch) | |
tree | d2b354ba247c1079f239272f00513eaecb036c49 /src | |
parent | xz: Fix the test when to read more input. (diff) | |
download | xz-fa381acaf9a29a8114e1c0a97de99bab9adb014e.tar.xz |
xz: Don't set src_eof=true after an I/O error because it's useless.
Diffstat (limited to '')
-rw-r--r-- | src/xz/file_io.c | 3 |
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; } |