From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada.Directories
Date: Sat, 20 Oct 2007 21:40:57 +0200
Date: 2007-10-20T21:41:01+02:00 [thread overview]
Message-ID: <1o4hp0vtlenw0.jql7yewhhr4a.dlg@40tude.net> (raw)
In-Reply-To: d%rSi.245768$ax1.158475@bgtnsc05-news.ops.worldnet.att.net
On Sat, 20 Oct 2007 18:43:21 GMT, anon wrote:
> Its a "File System" feature!
>
> In today's file systems, the first two entries are "." and ".." directories.
> One exception to this rule is the FAT file systems which does not contain
> these two entries.
Neither the root directory of a volume does. But that is irrelevant to the
issue.
> So if you seach the entire directory, the first two names that will be
> returned are "." and ".." unless you search a FAT partition or a floopy.
>
> All languages including Ada, C, JAVA that have directory search routine
> will act in same way.
I don't care how an OS-specific search might work. That is actually the
reason why I use Ada.Directories, which abstracts any concrete OS. So the
question is whether appearance of ".." is a requirement. Maybe, ".." is an
alias name? But then
1. Why there is no File_Kind value for aliases?
2. Why Full_Name of the Directory_Entry corresponding to ".." does not
render the true name of? Can the same file have different full names?
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2007-10-20 19:40 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-20 9:21 Ada.Directories Dmitry A. Kazakov
2007-10-20 18:43 ` Ada.Directories anon
2007-10-20 19:40 ` Dmitry A. Kazakov [this message]
2007-10-20 20:35 ` Ada.Directories Maciej Sobczak
2007-10-21 7:40 ` Ada.Directories Dmitry A. Kazakov
2007-10-21 13:05 ` Ada.Directories Jacob Sparre Andersen
2007-10-21 13:26 ` Ada.Directories Dmitry A. Kazakov
2007-10-21 15:29 ` Ada.Directories Markus E L
2007-10-21 15:38 ` Ada.Directories Jacob Sparre Andersen
2007-10-21 17:19 ` Ada.Directories Martin Krischik
2007-10-21 18:52 ` Ada.Directories Dmitry A. Kazakov
2007-10-21 20:32 ` Ada.Directories Markus E L
2007-10-21 23:52 ` Ada.Directories Robert A Duff
2007-10-22 11:08 ` Ada.Directories Harald Korneliussen
2007-11-15 11:44 ` Ada.Directories Markus E L
2007-11-16 13:27 ` Ada.Directories Dmitry A. Kazakov
2007-11-16 16:48 ` Ada.Directories Martin Krischik
2007-11-16 18:47 ` Ada.Directories Larry Kilgallen
2007-11-16 20:35 ` Ada.Directories Martin Krischik
2007-11-16 19:00 ` Ada.Directories Dmitry A. Kazakov
2007-10-21 1:25 ` Ada.Directories anon
2007-10-20 22:36 ` Ada.Directories Larry Kilgallen
2007-10-22 18:56 ` Ada.Directories Adam Beneschan
2007-10-23 9:04 ` Ada.Directories Peter Hermann
2007-10-23 12:07 ` Ada.Directories Larry Kilgallen
2007-10-23 13:01 ` Ada.Directories Peter Hermann
2007-10-23 16:08 ` Ada.Directories Robert A Duff
2007-10-23 17:11 ` Ada.Directories Larry Kilgallen
2007-10-24 0:55 ` Ada.Directories Brian May
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox