mirror of https://git.tukaani.org/xz.git
xz: Don't set src_eof=true after an I/O error because it's useless.
This commit is contained in:
parent
ea00545bea
commit
fa381acaf9
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue