From: Lasse Collin Date: Thu, 4 Jul 2013 10:41:03 +0000 (+0300) Subject: xz: Don't set src_eof=true after an I/O error because it's useless. X-Git-Tag: v5.1.3alpha~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa381acaf9a29a8114e1c0a97de99bab9adb014e;p=xz xz: Don't set src_eof=true after an I/O error because it's useless. --- 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; }