diff options
author | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-07 20:16:05 +0000 |
---|---|---|
committer | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-07 20:16:05 +0000 |
commit | ebd5945729aff3408fb32d6a241b26d23de18c16 (patch) | |
tree | 5d9ed60f54caed409368b8357d6d4f8740fc9387 /libgfortran/io/file_pos.c | |
parent | 840452b5e2461146e14fc2a1673bff012746d618 (diff) | |
download | ppe42-gcc-ebd5945729aff3408fb32d6a241b26d23de18c16.tar.gz ppe42-gcc-ebd5945729aff3408fb32d6a241b26d23de18c16.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128253 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io/file_pos.c')
-rw-r--r-- | libgfortran/io/file_pos.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libgfortran/io/file_pos.c b/libgfortran/io/file_pos.c index c0412e83879..96e5e243787 100644 --- a/libgfortran/io/file_pos.c +++ b/libgfortran/io/file_pos.c @@ -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 { |