1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

xz: Don't set src_eof=true after an I/O error because it's useless.

This commit is contained in:
Lasse Collin 2013-07-04 13:41:03 +03:00
parent ea00545bea
commit fa381acaf9

View file

@ -1011,9 +1011,6 @@ io_read(file_pair *pair, io_buf *buf_union, size_t size)
message_error(_("%s: Read error: %s"), message_error(_("%s: Read error: %s"),
pair->src_name, strerror(errno)); pair->src_name, strerror(errno));
// FIXME Is this needed?
pair->src_eof = true;
return SIZE_MAX; return SIZE_MAX;
} }