From fa381acaf9a29a8114e1c0a97de99bab9adb014e Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 4 Jul 2013 13:41:03 +0300 Subject: xz: Don't set src_eof=true after an I/O error because it's useless. --- src/xz/file_io.c | 3 --- 1 file changed, 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; } -- cgit v1.2.3