Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 24 Oct 2005 15:32:59 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Oct 17 2005 11:54:34
Message-ID: <20051024133259.GA24278@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <A4E3891E681AC442BDC781C89393235901BFD874@d10sm004.de10.cocreate.com> <20051020144227.GB28514@trixie.casa.cgf.cx> <dj91f2$rbd$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <dj91f2$rbd$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i

On Oct 20 14:16, Shankar Unni wrote:
> Christopher Faylor wrote:
> >On Thu, Oct 20, 2005 at 04:15:34PM +0200, Christoph Jeksa wrote:
> 
> >>Supposed, you have a file X.sh ( exactly in this spelling ).  If you
> >>enter:
> >>
> >>vim x.sh ( also exactly in this spelling )
> >>
> >>and write it back after any modification, the file will be renamed even
> >>to x.sh.  
> 
> >This isn't a vim problem.  Windows filename handling is case-insensitive.
> 
> But I think it's worth mentioning that 6.3 doesn't do this (change the 
> case of the name when writing back). It overwrites the old file when 
> writing back, thus preserving its case.

No, it doesn't.  I just tried it in 6.3 and this behaviour is the same
as in 6.4.  There is special code in the native Windows port which tests
explicitely for the case of the filename, but that's not in the UNIX
code which is used for Cygwin.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

