This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/17960] GNAT.Sockets Stream feature not working properly


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]