From cc9e83af090f59d5cced28b88b7096f0f70f941c Mon Sep 17 00:00:00 2001 From: Robert Dewar Date: Wed, 6 Jun 2007 12:21:11 +0200 Subject: a-tienio.adb (Get): Adjust buffer size to accomodate one extra character 2007-04-20 Robert Dewar * a-tienio.adb (Get): Adjust buffer size to accomodate one extra character From-SVN: r125381 --- gcc/ada/a-tienio.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc') 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 -- cgit v1.1