diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-06 10:21:11 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-06 10:21:11 +0000 |
commit | ad075b4ddabc6a7c1496a9f41e46f90f2b8f9226 (patch) | |
tree | fb118200fadd8175d0d1e19c1bf7b5b66d94563a /gcc/ada/a-tienio.adb | |
parent | 365efb502df88b88498892ddcc2b90adf84ab4b8 (diff) | |
download | gcc-ad075b4ddabc6a7c1496a9f41e46f90f2b8f9226.tar.gz |
2007-04-20 Robert Dewar <dewar@adacore.com>
* a-tienio.adb (Get): Adjust buffer size to accomodate one extra
character
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-tienio.adb')
-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 0c07103d5dc..4361e2bdafc 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 |