https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98129

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to anlauf from comment #9)
> The patch seems to regtest ok, but certainly needs some wider testing.

Actually, I think the bug is in io/unix.c:raw_read. That should take
care of repeating the reads as needed.

Seems like that, if nbyte <= MAX_CHUNK, we do not take account of the
possibility of a short read.

Reply via email to