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,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-08 01:43:47 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "David Starner" Newsgroups: comp.lang.ada Subject: Re: How Ada could have prevented the Red Code distributed denial of service attack. Date: Wed, 8 Aug 2001 08:38:31 +0100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: 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> <9kpa4f$j2n$1@nh.pace.co.uk> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:11587 Date: 2001-08-08T08:38:31+01:00 List-Id: "Larry Kilgallen" wrote in message news:On2kQeHwm8CK@eisner.encompasserve.org... > In article , "David Starner" writes: > > > > I think GNAT.Directory_Ops is portable to all the systems GNAT is, which > > includes those three. For a basic directory operations package, you need > > function Is_Directory (File : Filename) return Boolean and procedure > > Directory_List (Directory : in Filename; Directory_List : Filename_List). It > > seems that anything with directories is going to work with that, and it's a > > usable mix. (It would work for music123, a program of mine that uses > > GNAT.Directory_Ops.) > > On VMS those two subprograms would not seem to offer control of whether > one wants all versions or just the latest version of a file. What does the directory accessing API (for C, Pascal, or any existing Ada implementation) look like? A Interfaces.* scheme starts to get ugly; you're almost forced to use some sort of preprocessor or source constructor to go cross platform. Offering a common scheme lets you not worry about differences in many cases. -- David Starner - dstarner98@aasaa.ofe.org "The pig -- belongs -- to _all_ mankind!" - Invader Zim