delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/06/06/06:21:20

Date: Thu, 6 Jun 1996 13:19:25 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp-workers AT delorie DOT com
Subject: Downcasing pathnames under LFN
Message-Id: <Pine.SUN.3.91.960606130954.28496C-100000@is>
Mime-Version: 1.0

I think that under LFN, the default should be to not automatically 
downcase pathnames we get from the OS, as people seem to want the case to 
be preserved.  If I'm correct, then the following library functions 
should be fixed:

	getcwd, _file_tree_walk, srchpath, readdir, 
	__crt0_setup_arguments

Maybe the handling of _CRT0_FLAG_PRESERVE_UPPER_CASE should be also 
different under LFN?

`glob' looks at the pattern and, if all the characters there are 
lower-case, decides to match case-insensitively.  I wonder if that is 
correct for case-preserving OSes.

- Raw text -


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