Date: Mon, 23 Oct 2000 13:39:53 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Scott Brown cc: djgpp AT delorie DOT com Subject: Re: LFNs, timeslices and the preprocessor In-Reply-To: <39f3b441.847873445@198.60.22.3> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.