Sender: nate AT cartsys DOT com Message-ID: <35901369.C1015A5A@cartsys.com> Date: Tue, 23 Jun 1998 13:43:21 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Eli Zaretskii CC: David Monksfield , djgpp AT delorie DOT com Subject: Re: need help with LFN please... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Eli Zaretskii wrote: > > On Tue, 23 Jun 1998, David Monksfield wrote: > > > It appears that, under Win95, stat() and chmod() quite happily > > handle long filenames but the _dos_* functions refuse to, even > > with LFN=y set. > > _dos_* functions don't support LFN, by design. The docs just forget to > mention that (this is corrected in the docs of the alpha v2.02 release). > > Use _chmod if you need to get/set the DOS attributes for long file names. Err... but he wanted to get/set things like the system bit, and `chmod' won't do those. I guess what's needed here is a way to get the 8+3 alias for a long-named file, but I don't see a DJGPP function to do that. The closest thing (`_lfn_gen_short_fname') just tries to approximate Windows' algorithm -- Nate Eldredge nate AT cartsys DOT com