| delorie.com/archives/browse.cgi | search |
| 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 <corinna-cygwin AT cygwin DOT com> |
| 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 |
| 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 |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| 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 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |