Mail Archives: djgpp/2000/10/23/07:43:12
On Mon, 23 Oct 2000, Scott Brown wrote:
> The _use_lfn documentation has a note to the effect that all
> filesystems under Win9x support LFNs, and suggests the use of the
> _USE_LFN macro instead of calling _use_lfn directly. There is no
> mention of non-native filesystems like network drives and CDROMs.
All types of filesystems are native on Windows. They are only non-native
on DOS.
> Does _use_lfn return accurate info in all circumstances?
I don't think we've ever seen any problems with any type of filesystem.
Btw, there's a more ``portable'' way of probing whether long file names
are supported: call `pathconf' with _PC_NAME_MAX argument, and compare
the result with 12. That will tell you whether you have LFN or 8+3 DOS
names.
- Raw text -