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 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: <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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 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