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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2001-08-07 11:05:06 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Subject: Re: How Ada could have prevented the Red Code distributed denial of service attack. Date: Tue, 7 Aug 2001 13:56:29 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9kpa4f$j2n$1@nh.pace.co.uk> References: <3b690498.1111845720@news.worldonline.nl> <9kbu15$9bj@augusta.math.psu.edu> <9kbvsr$a02@augusta.math.psu.edu> <3B69DB35.4412459E@home.com> <3B6F312F.DA4E178E@home.com> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 997206991 19543 136.170.200.133 (7 Aug 2001 17:56:31 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 7 Aug 2001 17:56:31 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:11514 comp.lang.c:72725 comp.lang.c++:80708 Date: 2001-08-07T17:56:31+00:00 List-Id: Where would you put a package to get directory info? It would have to be an annex since Ada doesn't necessarily target to systems that have directories of any sort. And given a wide range of platforms that Ada runs on, could it be designed to be portable? Or would it be better to have something like the package Interfaces - only for operating systems? (Interfaces.Unix, Interfaces.Windows, Interfaces.VMS?) I'd like to have that in the language too, but there may be good reasons it was left out. (Hard to specify precisely - hard to validate?) Maybe that's another one of those "Standard Libraries" we're supposed to be building as our contribution to "The Cause"? :-) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Ted Dennison" wrote in message news:CyVb7.1733$NJ6.6570@www.newsranger.com... > > There are POSIX Ada bindings, which I have used on occasion. However, they > really don't offer all that much that one can't get from standard Ada. Usually I > see them used to get directory information (one of the glaring omissions from > the Ada standard). But at best that just gets you pseudo-portability, as POSIX > itself isn't supported on many of the OS'es that support Ada. So if you are > going to write non-portable code, in most cases its easier to just "go native" > and use the OS itself. >