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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49687|0                           |1
        is obsolete|                            |

--- Comment #12 from anlauf at gcc dot gnu.org ---
Created attachment 50025
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50025&action=edit
Revised patch, addressing the issue in unix.c

Hi Thomas,

I've regtested the attached patch.  It removes the first (problematic) part
of raw_read, and fixes the second part.  It seems to regtest fine, BUT:

I had one (random?) failure with append_1.f90 which I am unable to reproduce.

Looking at the strace output, it appears that there is one additional read(2)
with the patch that returns 0.  This is reproducible.  I have not yet found
out why this happens, but then I am probably to blind-sighted.

But it fixes the testcase.

Reply via email to