delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/26/12:25:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: file name case sensitivity
Date: Wed, 26 Feb 2003 09:25:29 -0800
Lines: 24
Message-ID: <b3it9p$8n7$1@main.gmane.org>
References: <b3g7mq$gs9$1 AT main DOT gmane DOT org> <GBEGLOMMCLDACBPKDIHFEENKDDAA DOT gsw AT agere DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
X-Accept-Language: en-us, en
In-Reply-To: <GBEGLOMMCLDACBPKDIHFEENKDDAA.gsw@agere.com>

Gerald S. Williams wrote:

> As you may have guessed, I've been working on this problem
> recently. I just put a request into SourceForge to create
> a new project: a library I've been calling CaseWise. It's
> only for Windows NT/2000/XP since it uses the Native API,
> but I'm hoping to get Cygwin to use it eventually. The
> library provides direct replacements for Windows API calls
> (e.g., CaseWiseCreateDirectory replaces CreateDirectory),
> with both ANSI and Unicode versions. I plan to allow calls
> to fall back to the original functions on platforms that
> don't support CaseWise semantics.

Very interesting. Once you do create such files (different case but same 
case-insensitive value, or files called "aux.something" or 
"prn.something"), will regular Windows programs be able to even look at 
that directory? Or will they choke on those names (e.g. hang when 
listing the directory, or when opening the file)?

I'd be wary of creating directory contents that can only be handled by 
special tools. Hopefully once you create these "weird" files, they will 
at least be gracefully handled by regular Windows tools, even if it 
means just something like a "cannot open file" message.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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