summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorbdavis <bdavis@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-09 00:55:04 +0000
committerbdavis <bdavis@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-09 00:55:04 +0000
commit74b0c8a0b07f2513879c3e988a643f978808460e (patch)
tree6ee69cd51c4ece62f5cbf212485224ba89c72c04 /libgfortran
parentd1fb3974c5713fa0bedf36eeb519ad721d1a6e98 (diff)
downloadgcc-74b0c8a0b07f2513879c3e988a643f978808460e.tar.gz
2004-06-08 Bud Davis <bdavis9659@comcast.net>
PR gfortran/15755 * gfortran.fortran-torture/execute/backspace.c : New test. * io/backspace.c(st_backspace): call correct routine for formatted and un-formatted units. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/io/backspace.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index d67ee65e0b3..ab7d37633db 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-09 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/15755
+ * io/backspace.c(st_backspace): call correct routine for
+ formatted and un-formatted units.
+
2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
PR gfortran/11800
diff --git a/libgfortran/io/backspace.c b/libgfortran/io/backspace.c
index aff4c5e29e3..c40e506c876 100644
--- a/libgfortran/io/backspace.c
+++ b/libgfortran/io/backspace.c
@@ -149,7 +149,7 @@ st_backspace (void)
if (file_position (u->s) == 0)
goto done; /* Common special case */
- if (u->flags.form == FORM_UNFORMATTED)
+ if (u->flags.form == FORM_FORMATTED)
formatted_backspace ();
else
unformatted_backspace ();