[Bug libfortran/34328] access="stream",form="formatted" doesn't buffer

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 4 02:36:00 GMT 2007



------- Comment #2 from jvdelisle at gcc dot gnu dot org  2007-12-04 02:36 -------
I am not seeing this here:

$ strace -e write,read,_llseek ./a.out
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00004\1\0\0\0\0\0"...,
832) = 832
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`>\240\f7\0\0\0"...,
832) = 832
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\'\0\0\0\0\0\0"...,
832) = 832
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\333a\f7\0\0\0"...,
832) = 832
write(3, "a\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\n"..., 200) = 200

This is with current trunk.  I got rid of the extra flush when I committed the
last patch.  I tested it after it was mentioned on IRC. (see PR33985) Thomas,
you spotted it.


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34328



More information about the Gcc-bugs mailing list