summaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-16 00:41:36 +0000
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-16 00:41:36 +0000
commitbdaf98c7916f5ed6e3d68c0fbd047111f9d632da (patch)
tree0896d6cd204e648ea5a955ddf4ace70c8ac3ab45 /libgfortran/io
parent4b4ab846d45c218ef2185b324ddb24133fe2337a (diff)
downloadgcc-bdaf98c7916f5ed6e3d68c0fbd047111f9d632da.tar.gz
2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31099 * io/file_pos.c (st_rewind): Don't set bytes_left to zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122970 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io')
-rw-r--r--libgfortran/io/file_pos.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgfortran/io/file_pos.c b/libgfortran/io/file_pos.c
index df722e4cbc7..95f7d87c6fc 100644
--- a/libgfortran/io/file_pos.c
+++ b/libgfortran/io/file_pos.c
@@ -311,7 +311,6 @@ st_rewind (st_parameter_filepos *fpp)
u->endfile = NO_ENDFILE;
u->current_record = 0;
- u->bytes_left = 0;
u->strm_pos = 1;
u->read_bad = 0;
test_endfile (u);