aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2008-08-19 08:00:51 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2008-08-19 08:00:51 +0200
commitcfd648ca231c1be6a88ab6d8b6f7e7daad9fe7c3 (patch)
tree8cf5304695348946d3b563576c6149eb93140428 /libgfortran
parent8b9d2005bca0df09fe06dfc2bcb696d73e2600cf (diff)
downloadgcc-cfd648ca231c1be6a88ab6d8b6f7e7daad9fe7c3.zip
gcc-cfd648ca231c1be6a88ab6d8b6f7e7daad9fe7c3.tar.gz
gcc-cfd648ca231c1be6a88ab6d8b6f7e7daad9fe7c3.tar.bz2
re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8")
2008-08-19 Tobias Burnus <burnus@net-b.de> PR libfortran/35863 * io/write.c (write_a_char4): Add missing variable declaration in HAVE_CRLF block. From-SVN: r139223
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/io/write.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 3e10c2e..7b53360 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-19 Tobias Burnus <burnus@net-b.de>
+
+ PR libfortran/35863
+ * io/write.c (write_a_char4): Add missing variable declaration
+ in HAVE_CRLF block.
+
2008-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/35863
diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c
index 8194cf8..97aed53 100644
--- a/libgfortran/io/write.c
+++ b/libgfortran/io/write.c
@@ -308,6 +308,7 @@ write_a_char4 (st_parameter_dt *dtp, const fnode *f, const char *source, int len
/* Write out any padding if needed. */
if (len < wlen)
{
+ char *p;
p = write_block (dtp, wlen - len);
if (p == NULL)
return;