From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5f7d72bde5bb96de X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-28 12:09:48 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!news2.telebyte.nl!teleglobe.net!teleglobe.net!62.81.31.29.MISMATCH!cyclone.auna.com!twister.auna.com!53ab2750!not-for-mail From: Jano Newsgroups: comp.lang.ada Subject: Re: Is 3.15p -still- the latest GNAT 'p' release? Message-ID: References: <87wu5834r2.fsf@insalien.org> <40641888.80000@noplace.com> <40658094.90301@noplace.com> X-Newsreader: MicroPlanet Gravity v2.50 Date: Sun, 28 Mar 2004 22:09:30 +0200 NNTP-Posting-Host: 82.198.34.196 X-Trace: twister.auna.com 1080504587 82.198.34.196 (Sun, 28 Mar 2004 22:09:47 MEST) NNTP-Posting-Date: Sun, 28 Mar 2004 22:09:47 MEST Organization: AUNA TLC Xref: archiver1.google.com comp.lang.ada:6638 Date: 2004-03-28T22:09:30+02:00 List-Id: Marin David Condic dice... > Jano wrote: > > > > I agree, it works very well. Though if you're planning to use it in > > windows with tasking or Gnat.Sockets there are some bugs you should > > avoid before they strike you in the head. Do a search in this group... > > They've been discussed here previously. > > I don't know about the sockets problem. It is in the select call. For the maximum read-enabled socket, the call uses the max from the write sockets, or vice versa. Something like that. Oh, and every time you get a stream from a socket you're causing an allocation you should explicitly free to avoid a memory leak. This is more a detail than a bug, I suppose. Though is something that doesn't happen for the streams in Stream_IO