delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <48EE097B.2010202@bmts.com> |
Date: | Thu, 09 Oct 2008 09:39:07 -0400 |
From: | Ralph Hempel <rhempel AT bmts DOT com> |
User-Agent: | Thunderbird 2.0.0.6 (X11/20071022) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygwin-1.7: mv appends .exe extension to .bat and .com files |
References: | <0MKr6C-1Kl4Ya1pOX-000Qp8 AT mx DOT kundenserver DOT de> <20081002090144 DOT GA23019 AT calimero DOT vinschen DOT de> <20081009100432 DOT GR9289 AT calimero DOT vinschen DOT de> <48EDFDAD DOT 9020407 AT bmts DOT com> <20081009130540 DOT GA9289 AT calimero DOT vinschen DOT de> <48EE0478 DOT 4020509 AT byu DOT net> |
In-Reply-To: | <48EE0478.4020509@byu.net> |
X-brucetelecom.com-MailScanner-Information: | Please contact Bruce Telecom 519.368.2000 for more information |
X-brucetelecom.com-MailScanner: | Found to be clean |
X-brucetelecom.com-MailScanner-From: | rhempel AT bmts DOT com |
X-IsSubscribed: | yes |
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 |
Eric Blake wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Corinna Vinschen on 10/9/2008 7:05 AM: >>> Install seems to strip the .exe extension in the process of copying >>> files to the destination directory. >> Install *copies* files. The resulting filename is not under control of >> Cygwin but exclusively under control of the copying application. This >> is different from rename and link which are OS functions and thus >> implemented in Cygwin. > > What this really means is that I need to add another cygwin-specific patch > in coreutils to make install keep track of .exe magic - if the user > specified a file without the suffix, but the real file has the suffix, > then the target should be created with the suffix (no different than some > of the .exe magic already in mv and cp). Exactly. What happens now is that the .exe extension is simply stripped off during the copy. As I noted before, the Cygwin User's Guide currently implies that install will fail in this scenario. The exe magic seems to be a rich source of headaches. I'm glad somebody smarter than me is looking after it :-) Ralph PS. Sorry for hijacking (not too far) this thread. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |