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