delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/02/14:15:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 2 Mar 2010 12:58:13 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin's svn appends unwanted .exe to file name on checkout
Message-ID: <20100302115813.GJ5683@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <B7FD2A676FED46478FC330F30AD8D78D4BB7C574E6 AT RDW083V001RVA1 DOT domain1 DOT systemhost DOT net> <4B8BFD4A DOT 6060609 AT acm DOT org> <20100302100035 DOT GO8799 AT trikaliotis DOT net> <4B8CE986 DOT 2040805 AT Gymel DOT com>
MIME-Version: 1.0
In-Reply-To: <4B8CE986.2040805@Gymel.com>
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 Mar  2 11:33, Thomas Berger wrote:
> > * On Mon, Mar 01, 2010 at 09:45:46AM -0800 David Rothenberger wrote:
> >> On 3/1/2010 5:43 AM, Alan Burn wrote:
> > 
> >> So I think I've made a little progress here. I still don't have a  
> >> solution, but I can now reproduce the problem.
> > 
> > Doesn't cygwin 1.7 add the .exe suffix when writing (some?) binary
> > files? I seem to remember to have readabout this being a problem before
> > the release of 1.7.1 here in this mailing list. I think Corinna was
> > speaking with someone about this.
> 
> I experienced the introduction of ".exe" suffixes when rsyncing a
> directory hierarchy with many checked out svn repositories:
> 
> File names like freetbl.exe.svn-base were changed on transport to
> freetbl.exe.svn-base.exe
> 
> I did not investigate whether this behaviour was triggered by
> the file magic number or just the ".exe" inside the name

The .exe suffix is added if all of the below is true:

- The file is renamed via the rename(2) function.
- The name does not only change by case on a caseinsensitive mount.
- The file is a binary checked with the Win32 function GetBinaryType,
  and the returned type is SCS_32BIT_BINARY or SCS_64BIT_BINARY.
- The source filename has none of the following suffixes:
    .com
    .dll
    .exe
    .scr
    .sys
- The destination filename has none of the aforementioned suffixes.


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