delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/23/07:43:12

Date: Mon, 23 Oct 2000 13:39:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Scott Brown <skb AT xmission DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: LFNs, timeslices and the preprocessor
In-Reply-To: <39f3b441.847873445@198.60.22.3>
Message-ID: <Pine.SUN.3.91.1001023133557.13851E-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 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 -


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