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
@ -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>
|
2008-05-15 Janne Blomqvist <jb@gcc.gnu.org>
|
||||||
|
|
||||||
PR libfortran/25561
|
PR libfortran/25561
|
||||||
|
@ -611,7 +611,7 @@ new_unit (st_parameter_open *opp, gfc_unit *u, unit_flags * flags)
|
|||||||
{
|
{
|
||||||
u->maxrec = max_offset;
|
u->maxrec = max_offset;
|
||||||
u->recl = 1;
|
u->recl = 1;
|
||||||
u->strm_pos = 1;
|
u->strm_pos = file_position (u->s) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
memmove (u->file, opp->file, opp->file_len);
|
memmove (u->file, opp->file, opp->file_len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user