------- Comment #3 from tkoenig at netcologne dot de  2007-12-04 07:03 -------
Subject: Re:  access="stream",form="formatted"
        doesn't buffer

On Tue, 2007-12-04 at 02:36 +0000, jvdelisle at gcc dot gnu dot org
wrote:

> 
> $ 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.


Yes, I now get the same result (after correctly upgrading).

Thanks Jerry!


-- 


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

Reply via email to