delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/01/22/12:39:36

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Wed, 22 Jan 2003 12:40:54 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: True case-sensitive filenames
Message-ID: <20030122174054.GM4903@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20030121205913 DOT GH17699 AT redhat DOT com> <GBEGLOMMCLDACBPKDIHFOEBNDBAA DOT gsw AT agere DOT com>
Mime-Version: 1.0
In-Reply-To: <GBEGLOMMCLDACBPKDIHFOEBNDBAA.gsw@agere.com>
User-Agent: Mutt/1.5.1i

On Wed, Jan 22, 2003 at 12:20:57PM -0500, Gerald S. Williams wrote:
>Christopher Faylor wrote:
>>I don't know if the requirements for getting case sensitivity working
>>on NT could be abstractable into something that would allow for future
>>expansion into, oh, I don't know, nfs or something but I think it is
>>worthwhile to consider not just adding a bunch of "ifs" to the code but
>>going for something that could be "plugged in" somehow.
>
>I'm not sure exactly how far you're talking about going.  It sounds
>like you're suggesting something that I would have thought goes against
>the grain of what Cygwin generally does.

Huh?  Weren't we talking about using POSIX_SEMANTICS to provide
case sensitivity?  I wasn't straying from that.

>If you want a truly generic approach for Win95-like
>clients, you may have to do something similar.

I wasn't talking about Windows 95 clients.  I was talking about not
peppering the code with:

	if (wincap.case_sensitive_available)
	  do_some_stuff ();
	else
	  do_some_other_stuff ();

But instead, trying to come up with a cleaner way of handling the
operations.  I don't have any specific recommendations other than
to think about this not from a "how do I add case sensitivity to
the cygwin DLL" but instead think about it as "how do I modify the
cygwin DLL to make this kind of thing easier so that we can add
other nifty features as well".

cgf

- Raw text -


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