www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/05/08:29:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 5 Nov 2009 14:29:37 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rsync appends .exe extension
Message-ID: <20091105132937.GN26344@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4AF1E7E5 DOT 8080104 AT mycircuit DOT org> <20091105091840 DOT GI26344 AT calimero DOT vinschen DOT de> <4AF2BA7A DOT 6030807 AT mycircuit DOT org>
MIME-Version: 1.0
In-Reply-To: <4AF2BA7A.6030807@mycircuit.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Nov  5 12:43, Peter wrote:
> Dear Corinna
> Thanks for you kind support.
> 
> >So you're running rsync from the Linux source side.  Hmm, that's a problem
> >for debugging.  Can you turn this around and run rsync from the Cygwin
> >target side?  Does the same problem occur?  I expect it will.
> >
> Its even simpler, I can run it locally on the cygwin install to
> reproduce the error:

Yeah, it's nothing to do with rsync specificially, it's a property
of the rename(2) call.

> >It should definitely not happen with files ending in .exe.  A couple
> >of questions:
> >
> Sorry, I was inaccurate, it does not happen on .exe, only on .com  ,
> .sys  and .src

That's good news at least.  I'm contemplating a change so that every
Windows binary, which is supposed to get any .suffix at all (up to three
or four characters) in rename(2) will not get the .exe suffix attached.
That should fix most scenarios in which binaries are renamed.


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019