Commit cc9e83af by Robert Dewar Committed by Arnaud Charlet

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
parent 0ebb72c8
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- 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 -- -- 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- -- -- 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 ...@@ -42,7 +42,7 @@ package body Ada.Text_IO.Enumeration_IO is
--------- ---------
procedure Get (File : File_Type; Item : out Enum) is procedure Get (File : File_Type; Item : out Enum) is
Buf : String (1 .. Enum'Width); Buf : String (1 .. Enum'Width + 1);
Buflen : Natural; Buflen : Natural;
begin begin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment