re PR libfortran/92100 (Formatted stream IO irreproducible read with binary data...
commit73af0c7b3ac036802db97377422e8a8a750a56cc
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 24 Nov 2019 22:14:59 +0000 (24 22:14 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 24 Nov 2019 22:14:59 +0000 (24 22:14 +0000)
tree743a8c4630626b7b2f49c2bd5ad523adf2c83550
parent859174c82493971bd1e408231e24a7724953042f
re PR libfortran/92100 (Formatted stream IO irreproducible read with binary data in file)

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.

From-SVN: r278660
libgfortran/ChangeLog
libgfortran/io/transfer.c