diff options
author | Robert Dewar <dewar@adacore.com> | 2007-06-06 12:21:11 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-06-06 12:21:11 +0200 |
commit | cc9e83af090f59d5cced28b88b7096f0f70f941c (patch) | |
tree | fb118200fadd8175d0d1e19c1bf7b5b66d94563a | |
parent | 0ebb72c85d0c10fd1479f35ebfd34d505f095664 (diff) | |
download | gcc-cc9e83af090f59d5cced28b88b7096f0f70f941c.zip gcc-cc9e83af090f59d5cced28b88b7096f0f70f941c.tar.gz gcc-cc9e83af090f59d5cced28b88b7096f0f70f941c.tar.bz2 |
a-tienio.adb (Get): Adjust buffer size to accomodate one extra character
2007-04-20 Robert Dewar <dewar@adacore.com>
* a-tienio.adb (Get): Adjust buffer size to accomodate one extra
character
From-SVN: r125381
-rw-r--r-- | gcc/ada/a-tienio.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/a-tienio.adb b/gcc/ada/a-tienio.adb index 0c07103..4361e2b 100644 --- a/gcc/ada/a-tienio.adb +++ b/gcc/ada/a-tienio.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -42,7 +42,7 @@ package body Ada.Text_IO.Enumeration_IO is --------- procedure Get (File : File_Type; Item : out Enum) is - Buf : String (1 .. Enum'Width); + Buf : String (1 .. Enum'Width + 1); Buflen : Natural; begin |