[J3] EOF not detected

Van Snyder van.snyder at sbcglobal.net
Tue Nov 11 21:33:51 UTC 2025


On Mon, 2025-11-10 at 18:50 -0500, Steve Lionel via J3 wrote:
> On 11/10/2025 3:51 PM, Van Snyder via J3 wrote:
> > Reading and processing the compressed files using the above methods
> > takes 25 seconds.
> > 
> > I also tried appending EOF to the files before compressing them and
> > then reading them using the first method, with the same result.
> > 
> > (1) Why does END= not branch when reading from a FIFO?
> > 
> > (2) Why does it run so much longer when reading from a FIFO?
> 
> There's no such thing as "appending EOF". Your problem description is
> far too vague and missing useful information, as well as depending on
> non-Fortran things. Can you come up with a short but complete Fortran
> example that demonstrates whatever problem you're describing?

I appended the text "EOF" to the file, and  when my program sees it it
branches to the END= label.

> END= triggers when there is an attempt to read past the end of the
> file.

That's what the standard says, but ifx doesn't do it when reading from
a FIFO.

> Steve
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251111/e91d7163/attachment.htm>


More information about the J3 mailing list