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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,3b009bb3a08ff095 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-09 02:45:17 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!news.maxwell.syr.edu!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: file list in a directory Date: Mon, 9 Apr 2001 11:34:42 +0200 Organization: Adalog Message-ID: <9as00a$l7k$1@s1.read.news.oleane.net> References: <9907tp$3ula5$1@ID-25716.news.dfncis.de> <994o35$nnr$1@s1.read.news.oleane.net> <3AD153E2.D03565FC@worldnet.att.net> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 986809162 21748 195.25.228.57 (9 Apr 2001 09:39:22 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 9 Apr 2001 09:39:22 +0000 (UTC) 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: supernews.google.com comp.lang.ada:6653 Date: 2001-04-09T11:34:42+02:00 List-Id: "srini" a �crit dans le message news: 3AD153E2.D03565FC@worldnet.att.net... > How about gnat.directory_operations from gnat. I have had good success > with it. This in combination with gnat.command_line perform most > directory related services one might require. I hope any enhancements to > the Ada package hierarchy would mirror these packages. > It's fine, but supported only by Gnat. Actually, one of the implementations of OS_Services is built on top of these packages. Also, OS_Services is intended to be flexible and extensible, i.e. allow you to benefit from OS pecularities, while still providing a hard kernel of operations that work on every OS. The way it is designed, if you try to use a feature that is not available on your OS, the program will simply not compile. (Put it the other way round: if it compiles, it works). And it avoids the "least common denominator" problem when you want a portable interface. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr