Date: Thu, 3 Aug 2000 17:40:20 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Johan Henriksson cc: djgpp AT delorie DOT com Subject: Re: X-DOS: anybody knows about it? (small free DOS) In-Reply-To: <005b01bffd43$03b08740$0500007b@brk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 3 Aug 2000, Johan Henriksson wrote: > Don't know much about this topic but as an old lazy programmer I > would probably skip the two first dirs/files if I get them with > a certain compiler. That would be wrong: it is not guaranteed that the first two entries are "." and ".." (although in practice I never saw anything else). You need to look at the entry's name to know for sure. In particular, as I said, root directories on DOS/Windows disks don't have these two entries. > If now another compiler doesn't give them, > well, you jump over two "real" dirs instead. What new compiler? The issue was how DJGPP library functions behave on XDOS as opposed to other flavors of DOS. These are the same functions compiled with the same compiler.