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
This commit is contained in:
parent
acb388a0cb
commit
65686652e4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue