Regression with dev_null.f90
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun May 22 16:10:00 GMT 2005
On Sun, May 22, 2005 at 10:28:48AM +0200, Thomas Koenig wrote:
> Steve Kargl wrote:
>
> > The program I sent was bogus because it did not use feof()
> > to check for EOF. This suggests that the implementation
> > of READ(...,end=100) is not properly checking for EOF on
> > at least the platforms we've identified.
>
> We don't use C i/o like your example program, we use the Unix system
> call read() if mmap() fails, as it is supposed to for /dev/null.
>
> Can you open PR for this?
This is now 21708. Yes, I know that we use mmap() and read(), but
the symptoms definitely point to an incorrect assumption of what
happens when either hit EOF. Can we XFAIL dev_null.f90?
--
Steve
More information about the Fortran
mailing list