]> granicus.if.org Git - xz/commitdiff
xz: Don't set src_eof=true after an I/O error because it's useless.
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 4 Jul 2013 10:41:03 +0000 (13:41 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 4 Jul 2013 10:41:03 +0000 (13:41 +0300)
src/xz/file_io.c

index 9db7dc58e255229ffbfa1f86c4f9427a1d43d1f1..921f79d18ca3144ba2064e13ac653eb0eb1ca2b6 100644 (file)
@@ -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;
                }