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-Thread: 103376,7e07d42b7f3b3389 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!wns14feed!worldnet.att.net!207.115.63.142!newscon02.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!7db1df25!not-for-mail From: John Stoneham Subject: Re: Reading directories? Newsgroups: comp.lang.ada References: User-Agent: KNode/0.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: NNTP-Posting-Host: 216.63.106.209 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr11.news.prodigy.com 1109692434 ST000 216.63.106.209 (Tue, 01 Mar 2005 10:53:54 EST) NNTP-Posting-Date: Tue, 01 Mar 2005 10:53:54 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: FKPO@SZDWJTGRQHX@BCBNWX@RJ_XPDLMN@GZ_GYO^BSZUSAANVUEAE[YETZPIWWI[FCIZA^NBFXZ_D[BFNTCNVPDTNTKHWXKB@X^B_OCJLPZ@ET_O[G\XSG@E\G[ZKVLBL^CJINM@I_KVIOR\T_M_AW_M[_BWU_HFA_]@A_A^SGFAUDE_DFTMQPFWVW[QPJN Date: Tue, 01 Mar 2005 15:53:54 GMT Xref: g2news1.google.com comp.lang.ada:8568 Date: 2005-03-01T15:53:54+00:00 List-Id: Peter Hermann wrote: > John Stoneham wrote: >> If you're using gnat, try GNAT.Directory_Operations. Obviously, it's only >> "standard" with gnat. The spec file is g-dirope.ads. I'm using it in my >> projects now. > > For the sake of being portable you have to go back to the reduced > functionality of gnat3.12p or even gnat3.11p. > > just my 2cents > If by portable you mean between Windows and Linux, I haven't had any trouble with 3.15p, in fact that's why I'm using GNAT.Directory_Operations in the first place. It's not a large package, but it has all the operations I need, and Format_Pathname keeps "/" and "\" from being a problem. -- captnjameskirk@moc.oohay reverse domain to email