delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/22/10:28:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
To: cygwin AT cygwin DOT com
From: Ronald Landheer-Cieslak <ronald AT landheer DOT com>
Subject: Slight problem with case sensitivity on managed mounts with CVS-1.11.6
Date: Thu, 22 Jul 2004 10:27:38 -0400
Lines: 29
Message-ID: <cdoisq$342$1@sea.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: dslcom1-156.express.oricom.ca
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Hello CVS maintainer (et al.),

I've got a slight problem with CVS when running it on a directory 
mounted in managed mode: the directory being case-sensitive, ``cvs 
update'' should *IMHO* not warn about a file whose name might clash with 
another due to its case (and on ``cvs checkout'', it doesn't).

The file in question is called Hash.h, which has a little brother called 
hash.h.

The error is emitted on line 1809 of src/client.c, which also contains a 
lengthy comment on why the error may be emitted, confirming my hypothesis.

My question is not: "please fix this.." - my question is whether you'd 
be interested in a fix. The fix would consist of
* checking whether the file being updated is on a managed mount (don't
   know how to do that yet, but I assume it's possible)
+ if so, assume case-sensitivity
- if not, assume case-insensitivity

The patch would probably be Cygwin-specific, so I doubt it would be 
possible to get it up-stream, but I'll try to make it as clean as possible..

I should also note that I have *no* ETA on this: it'll be an 
during-lunch-breaks thing - my question is just whether you'd be 
interested at all (otherwise, I'll ignore the warning and bite my nails 
in stead of scratching this particular itch).

rlc


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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