This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/33985] access="stream",form="unformatted" doesn't buffer
- From: "jvdelisle at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2007 02:05:23 -0000
- Subject: [Bug libfortran/33985] access="stream",form="unformatted" doesn't buffer
- References: <bug-33985-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from jvdelisle at verizon dot net 2007-12-02 02:05 -------
Subject: Re: access="stream",form="unformatted" doesn't
buffer
> m = where + s->active;
>
> if (s->physical_offset != m && lseek (s->fd, m, SEEK_SET) < 0)
> return NULL;
>
> I don't think this is correct.
You are dead on, I have fixed this and have a patch regression testing now. The
above did not break backspace_6.f90, but it broke some other things. Stay
tuned.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33985