Commit 65686652 by Janne Blomqvist

Fix fallout from part 1 of PR25561 patch.

2008-05-16  Janne Blomqvist  <jb@gcc.gnu.org>

        PR libfortran/35632
        * io/open.c (new_unit): Set stream position to correct value.

From-SVN: r135432
parent acb388a0
2008-05-16 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/35632
* io/open.c (new_unit): Set stream position to correct value.
2008-05-15 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/25561
......
......@@ -611,7 +611,7 @@ new_unit (st_parameter_open *opp, gfc_unit *u, unit_flags * flags)
{
u->maxrec = max_offset;
u->recl = 1;
u->strm_pos = 1;
u->strm_pos = file_position (u->s) + 1;
}
memmove (u->file, opp->file, opp->file_len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment