Commit 3a666605 by Jerry DeLisle

re PR fortran/33307 (I/O read/positioning problem)

2007-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/33307
	* io/filepos.c (st_backspace): Don't truncate when already at the end
	of the file.

From-SVN: r128253
parent 0ab29e91
2007-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/33307
* io/filepos.c (st_backspace): Don't truncate when already at the end
of the file.
2007-09-07 Uros Bizjak <ubizjak@gmail.com>
* config/fpu-387.h: Include cpuid.h.
......
......@@ -213,7 +213,6 @@ st_backspace (st_parameter_filepos *fpp)
u->endfile = AT_ENDFILE;
u->flags.position = POSITION_APPEND;
flush (u->s);
struncate (u->s);
}
else
{
......
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