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

--- Comment #8 from anlauf at gcc dot gnu.org ---
Created attachment 49687
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49687&action=edit
Untested patch (proof of concept)

Here's a possible patch that retries after short reads.

Not regtested.

Reply via email to