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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,dd794611c94e9169 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!feeder.news-service.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!87.79.20.105.MISMATCH!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada.Directories and network shares Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1ba1dga9eoydh.10v0tx3bl9yxw$.dlg@40tude.net> Date: Mon, 16 Aug 2010 21:31:53 +0200 Message-ID: NNTP-Posting-Date: 16 Aug 2010 21:31:50 CEST NNTP-Posting-Host: 687ce7e1.newsspool2.arcor-online.net X-Trace: DXC=;oIIbo1^8bPHigV@eW57PQA9EHlD;3YcR4Fo<]lROoRQ8kF On Mon, 16 Aug 2010 21:16:40 +0200, Yannick Duch�ne (Hibou57) wrote: > Le Sat, 17 Jul 2010 12:43:15 +0200, Dmitry A. Kazakov > a �crit: > >> It seems that Ada.Directories is broken. Neither under Fedora or Debian the >> following can walk a network share (cifs). The following does not work with >> mounted shares: > > Not the same case as yours, I also get into troubles with Ada.Directories > and some characters in file names. Ada.Directory is broken per design because it does not abstract file names encoding. Evidently it must have been either UTF-8 or else Wide_Wide_Character. > This made though this may be a good > idea to create your own if the target platform is known or are known. Well, since I am using GtkAda for all cases where Ada.Directory could come in question, I just switched to Glib. Glib works so far and, I hate to have to say this, was designed more reasonable than Ada.Directories was in terms of OS-independency as well as functionality. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de