delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/10/15/16:04:07

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10110151959.AA17678@clio.rice.edu>
Subject: Re: W2K/XP fncase
To: eliz AT is DOT elta DOT co DOT il
Date: Mon, 15 Oct 2001 14:59:20 -0500 (CDT)
Cc: djgpp-workers AT delorie DOT com
In-Reply-To: <2427-Mon15Oct2001190325+0200-eliz@is.elta.co.il> from "Eli Zaretskii" at Oct 15, 2001 07:03:26 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I'll make return an int and add space to the exclude list.  Does fcntl.h
seem a reasonable place to put a function like _is_DOS83 ?

Making . and .. legal is trivial.  Is this the right thing (they really
aren't 8.3 names)?  Or document to not to send them?

> > Yes, but the question remains - do we leave the current code as-is,
> > or update it with DH=1 (which works for some file names), or just 
> > document it's bad, or insert emulation code?
> 
> I'd suggest to document for now and leave it as is.  We can return to
> this later; this is not a grave problem if it doesn't affect the rest
> of the library.

It turns out the current LFN tsr for NT returns the name in the entered 
case (not upper) for the short name if DH=1 - so trying to make things 
better on W2K/XP would make things worse on NT with LFN.  Yes, we could
fix it, but I think it's more reason to just document and leave it alone.
Sigh.

- Raw text -


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