diff options
author | Bud Davis <bdavis@gfortran.org> | 2005-01-30 13:16:19 +0000 |
---|---|---|
committer | Bud Davis <bdavis@gcc.gnu.org> | 2005-01-30 13:16:19 +0000 |
commit | 23e044cc1dc30da08dd53bddd70ca66cbb4ca6c4 (patch) | |
tree | f48b0371151e1ac6a864cb3626afc1d14b8ac5d6 /libgfortran | |
parent | d6eabd43eeb3637d28c370f97c9eb02c993c47d4 (diff) | |
download | gcc-23e044cc1dc30da08dd53bddd70ca66cbb4ca6c4.zip gcc-23e044cc1dc30da08dd53bddd70ca66cbb4ca6c4.tar.gz gcc-23e044cc1dc30da08dd53bddd70ca66cbb4ca6c4.tar.bz2 |
re PR libfortran/19647 (inquire(delim=) returns garbage)
2005-01-30 Bud Davis <bdavis@gfortran.org>
PR fortran/19647
* io/inquire.c (inquire_via_unit): Use correct variable for
pad.
* gfortan.dg/inquire_7.f90
From-SVN: r94439
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/io/inquire.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index be7bfa8..d0aabea 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2005-01-30 Bud Davis <bdavis@gfortran.org> + + PR fortran/19647 + * io/inquire.c (inquire_via_unit): Use correct variable for + pad. + 2005-01-29 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/19595 diff --git a/libgfortran/io/inquire.c b/libgfortran/io/inquire.c index 20fa8b3..28c2f6a 100644 --- a/libgfortran/io/inquire.c +++ b/libgfortran/io/inquire.c @@ -256,7 +256,7 @@ inquire_via_unit (gfc_unit * u) internal_error ("inquire_via_unit(): Bad delim"); } - cf_strcpy (ioparm.access, ioparm.access_len, p); + cf_strcpy (ioparm.delim, ioparm.delim_len, p); } if (ioparm.pad != NULL) |