[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    Re: [patch, committed] PR92100 Formatted stream IO irreproducible read with binary data in file
From:       Jerry DeLisle <jvdelisle () charter ! net>
Date:       2019-11-25 2:29:21
Message-ID: a560dad3-2fc4-bc37-c1bd-62fb48238539 () charter ! net
[Download RAW message or body]

On 11/24/19 2:20 PM, Jerry DeLisle wrote:
> Committed this as simple one liner.  I will probably backport this in a few days.
> 
> Jerry
> 
> Committed r278660
>      M    libgfortran/ChangeLog
>      M    libgfortran/io/transfer.c
> 
> 2019-11-24  Jerry DeLisle  <jvdelisle@gcc.ngu.org>
> 
>      PR fortran/92100
>      io/transfer.c (data_transfer_init_worker): Use fbuf_reset
>      instead of fbuf_flush before the seek. Note that fbuf_reset
>      calls fbuf_flush and adjusts fbuf pointers.

Also commited a testcase, streamio_18.f90.

Jerry
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic