delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/16/11:16:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-Id: <1266336985.14297.1360269581@webmail.messagingengine.com>
From: "John Langenbach" <jlang AT bigfoot DOT com>
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Rsync still appending exe extension
Date: Tue, 16 Feb 2010 16:16:25 +0000
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi list,

This is a follow up to ...
http://www.cygwin.com/ml/cygwin/2009-11/msg00106.html
... describing a recent bug where rsync on cygwin would add a .exe
extension to executable files, making the copy different to the
original.

It appears this may have been "fixed" but I've found a case where the
behaviour is back. I back up my entire work area which includes several
active subversion checkouts to an external hard disk. There are cases we
have executable files are checked in and SVN stores a copy of the file
with a .exe.svn-base extension. Copying these with rsync gives an extra
.exe extension on the destination file, as in the sequence below.

Any chance this could be looked at and fixed in a future revision?
Thanks,
John

$ ls -l source
total 36
-rwxr-xr-x 1 JL None 35328 2010-02-16 15:44 test.exe.svn-base

$ file source/test.exe.svn-base
source/test.exe.svn-base: PE32 executable for MS Windows (console) Intel
80386 32-bit

$ mkdir dest

$ rsync -av --delete source/ dest
sending incremental file list
./
test.exe.svn-base

sent 35446 bytes  received 34 bytes  70960.00 bytes/sec
total size is 35328  speedup is 1.00

$ ls -l dest/
total 36
-rwxr-xr-x 1 JL None 35328 2010-02-16 15:44 test.exe.svn-base.exe

$ rsync -av --delete source/ dest
sending incremental file list
deleting test.exe.svn-base.exe
test.exe.svn-base

sent 35443 bytes  received 31 bytes  23649.33 bytes/sec
total size is 35328  speedup is 1.00


--
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