summaryrefslogtreecommitdiffstats
path: root/libgfortran/runtime
diff options
context:
space:
mode:
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-09 09:33:31 +0000
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-09 09:33:31 +0000
commit89016db94b5a48c5da47202c6849ea3e5ba48134 (patch)
tree4b8d9c37e024396926922d352c6ef52a2dc2bd68 /libgfortran/runtime
parentf2bc5bf596fa03e70dd0fef53bd22ce933e6b199 (diff)
downloadppe42-gcc-89016db94b5a48c5da47202c6849ea3e5ba48134.tar.gz
ppe42-gcc-89016db94b5a48c5da47202c6849ea3e5ba48134.zip
2005-07-07 Francois-Xavier Coudert <coudert@clipper.ens.fr>
Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22217 * io/write.c (extract_unit): New function; extract ints as unsigned signed int of the correct size. * io/write.c (write_int): Use it. * runtime/error.c: Adjust copyright years. Adjust size of buffer to maximum that can occur. 2005-07-07 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22217 * gfortran.dg/negative-z-descriptor.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101829 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r--libgfortran/runtime/error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgfortran/runtime/error.c b/libgfortran/runtime/error.c
index 8b42041967a..ff91b96bd3f 100644
--- a/libgfortran/runtime/error.c
+++ b/libgfortran/runtime/error.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
Contributed by Andy Vaught
This file is part of the GNU Fortran 95 runtime library (libgfortran).
@@ -63,7 +63,8 @@ iexport_data(filename);
unsigned line = 0;
iexport_data(line);
-static char buffer[32]; /* buffer for integer/ascii conversions */
+/* buffer for integer/ascii conversions. */
+static char buffer[sizeof (GFC_UINTEGER_LARGEST) * 8 + 1];
/* Returns a pointer to a static buffer. */
OpenPOWER on IntegriCloud