X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 4 Mar 2009 14:32:17 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Renaming issue, changing case only. Message-ID: <20090304133217.GC10046@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20090304084540 DOT GY10046 AT calimero DOT vinschen DOT de> <200903041256 DOT n24CulDm001597 AT mail DOT pdinc DOT us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903041256.n24CulDm001597@mail.pdinc.us> User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Mar 4 07:57, Jason Pyeron wrote: > > Cygwin 1.7 itself has no problems to rename a file just > > case-wise, neither under casesensitive mount points nor under > > caseinsensitive mount points. This looks like a problem in svn. > > > But as this works on other platforms it appears to be a cygwin platform only bug > in svn. If here is not the best place, where should this be addressed? No, it's fine. I was just addressing the problem itself to point out where it probably occurs. I assume that it works fine when using casesensitive mount points under 1.7. I assume further that the problem is the same as old versions of coreutils had when only trying to change the case of a name on a caseinsensitive filesystem, basically along these lines. stat (old_path, &ost) if (stat (new_path, &nst) == 0) /* Uh oh, target exists */ if (ost.st_ino == nst.st_ino && ost.st_dev == nst.st_dev) /* Even worse, it's the same file */ Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/