www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/08/13/19:22:58

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9608132318.AA11947@clio.rice.edu>
Subject: Re: LFN woes (again)
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Tue, 13 Aug 1996 18:18:50 -0600 (CDT)
Cc: djgpp-workers AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.960813093756.28748W-100000@is> from "Eli Zaretskii" at Aug 13, 96 10:13:31 am

Okay - my 2 cents worth.  I don't think we should make any more API calls
than we currently do - there is no reason to make DJGPP slower than it 
currently is over something like case ...  What I would do is something
like:
 if(!use_lfn || !filename_contains_lower_case)
   tolower(name);
For non-lfn systems, this preserves the current behavior.
For lfn-systems with no lfns, the behavior is the same as before.
For lfn-systems with Mixed case names, the case is preserved.
This is how my personal libc calls work, it was trivial to implement in
all calls which return names (itsa routine).

The only losage would be all upper case names which you wanted to stay
upper case.  Tuff.

If you choose not to lowercase all UPPER names on W95 you should see the
same behavior under DOS.  

- Raw text -


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