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
This commit is contained in:
parent
0ebb72c85d
commit
cc9e83af09
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue