Mail Archives: djgpp/2000/08/03/10:41:26
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 -