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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.90.10 with SMTP id bs10mr25734956pab.12.1469636933869; Wed, 27 Jul 2016 09:28:53 -0700 (PDT) X-Received: by 10.157.14.230 with SMTP id 93mr1833665otj.17.1469636933790; Wed, 27 Jul 2016 09:28:53 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f6no5182903ith.0!news-out.google.com!d68ni8358ith.0!nntp.google.com!f6no5182900ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 27 Jul 2016 09:28:53 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=50.73.209.141; posting-account=7LNHvQkAAACthPGEcZ2gMbdQl4e41dB_ NNTP-Posting-Host: 50.73.209.141 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: ADA.IO_EXCEPTIONS.USE_ERROR thrown by Ada.Directories.More_Entries From: WBull Injection-Date: Wed, 27 Jul 2016 16:28:53 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:31189 Date: 2016-07-27T09:28:53-07:00 List-Id: Running an Ada program that calls Ada.Directories.More_Entries on a Windows= 7 system that has a protected system file in the directory of the search w= ill throw the USE_ERROR which prevents finding the rest of the entries in t= he directory. The program was built with the 2016 GPL release of GNAT. It seems like it would be more useful if the More_Entries call would succee= d but the Get_Next_Entry would through the exception which would let the sc= anning of the directory continue.