www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/31/03:09:11

Date: Tue, 31 Mar 1998 11:09:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Stan Brown <brownsta AT concentric DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: LFN support enabled, no LFNs
In-Reply-To: <MPG.f89d4b6336b71de989e41@news.concentric.net>
Message-ID: <Pine.SUN.3.91.980331110722.23311H-100000@is>
MIME-Version: 1.0

On Mon, 30 Mar 1998, Stan Brown wrote:

> My problem is that, even though the value of _USE_LFN is 1, I'm getting 
> back only 8.3-style filenames from _dos_findfirst() and _dos_findnext().

`_dos_findfirst' and `_dos_findnext' don't support long file names.
Use the alternative functions `findfirst' and `findnext' instead. (This 
should be in the docs, but it isn't; I'll submit a patch for the next 
release.)

Better yet, use `opendir' and `readdir' which also support long names, 
but are Posix-standard and will therefore work on a wider range of 
different platforms/compilers.

- Raw text -


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