This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/17960] GNAT.Sockets Stream feature not working properly
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2004 20:54:41 -0000
- Subject: [Bug ada/17960] GNAT.Sockets Stream feature not working properly
- References: <20041012232526.17960.kat-zygfryd@o2.pl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From laurent at guerby dot net 2004-11-24 20:54 -------
Works for me when I change a bity the code as follows:
declare
Message : String (1..5);
begin
String'Read (Channel, Message);
Ada.Text_IO.Put_Line (Message);
end;
I believe the behaviour of the original code is not very well defined
per stream and socket semantics.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17960