Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 24 Oct 2005 15:32:59 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT 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 AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20051020144227 DOT GB28514 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/