delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/03/10:41:26

Date: Thu, 3 Aug 2000 17:40:20 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Johan Henriksson <jhe AT realsoftware DOT cjb DOT net>
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: <Pine.SUN.3.91.1000803173702.13891F-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019