cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/23/19:17:52

Sender: nate AT cartsys DOT com
Message-ID: <35901369.C1015A5A@cartsys.com>
Date: Tue, 23 Jun 1998 13:43:21 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: David Monksfield <drm AT dera DOT gov DOT uk>, djgpp AT delorie DOT com
Subject: Re: need help with LFN please...
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980623145133 DOT 17359F-100000 AT is>

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


- Raw text -


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