Skip to content
Snippets Groups Projects
Commit ef6fa01d authored by Jerry DeLisle's avatar Jerry DeLisle
Browse files

re PR libfortran/26880 (Can't read after non-advancing write with rewind)

2006-03-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/26880
	* io/file_pos.c (st_rewind): Clear read_bad flag.

From-SVN: r112407
parent 462ea7a5
No related branches found
No related tags found
No related merge requests found
2006-03-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26880
* io/file_pos.c (st_rewind): Clear read_bad flag.
2006-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26661
......
......@@ -312,6 +312,7 @@ st_rewind (st_parameter_filepos *fpp)
u->endfile = NO_ENDFILE;
u->current_record = 0;
u->bytes_left = 0;
u->read_bad = 0;
test_endfile (u);
}
/* Update position for INQUIRE. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment