comp.lang.ada
 help / color / mirror / Atom feed
From: WBull <wbullaughey@gmail.com>
Subject: ADA.IO_EXCEPTIONS.USE_ERROR thrown by Ada.Directories.More_Entries
Date: Wed, 27 Jul 2016 09:28:53 -0700 (PDT)
Date: 2016-07-27T09:28:53-07:00	[thread overview]
Message-ID: <df9ecd8b-10f1-4c1a-8b3d-5f12b5ac1cc6@googlegroups.com> (raw)

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 will throw the USE_ERROR which prevents finding the rest of the entries in the 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 succeed but the Get_Next_Entry would through the exception which would let the scanning of the directory continue.

             reply	other threads:[~2016-07-27 16:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27 16:28 WBull [this message]
2016-07-28 11:07 ` ADA.IO_EXCEPTIONS.USE_ERROR thrown by Ada.Directories.More_Entries AdaMagica
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox