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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,987b0d0ea6163ef9,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!k30g2000hse.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Stability of GNAT.Directory_Operations Date: Tue, 7 Oct 2008 08:24:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5987211c-657c-40c2-9b5e-0e870637a284@k30g2000hse.googlegroups.com> NNTP-Posting-Host: 128.141.45.227 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1223393052 1874 127.0.0.1 (7 Oct 2008 15:24:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Oct 2008 15:24:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k30g2000hse.googlegroups.com; posting-host=128.141.45.227; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2267 Date: 2008-10-07T08:24:11-07:00 List-Id: Hi, Is it possible to delete a file (in terms of Ada.Direct_IO.Delete, for example) in the middle of a directory iteration done with GNAT.Directory_Operations.Read? The case in question is deleting a file that has been already visited by GNAT.Directory_Operations.Read, but deleting a file before it is visited is also an interesting scenario. The GNAT.Directory_Operations specification file does not document it. -- Maciej Sobczak * www.msobczak.com * www.inspirel.com Database Access Library for Ada: www.inspirel.com/soci-ada