delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 5 Nov 2009 19:15:35 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: src/winsup/cygwin ChangeLog syscalls.cc |
Message-ID: | <20091105181535.GR26344@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20091105144413 DOT 31963 DOT qmail AT sourceware DOT org> <4AF30801 DOT 7090508 AT users DOT sourceforge DOT net> <20091105173450 DOT GQ26344 AT calimero DOT vinschen DOT de> <4AF31182 DOT 2070304 AT users DOT sourceforge DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <4AF31182.2070304@users.sourceforge.net> |
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 Nov 5 11:55, Yaakov S wrote: > On 05/11/2009 11:34, Corinna Vinschen wrote: > >Sigh. > > > >Is there any *reliable* solution to this problem, other than never to > >add a .exe suffix? > > What is "this problem" that you're trying to fix? rename ("foo", "bar"), when "foo" is a Windows binary. That's what happens, for instance, when you call strip foo strip create a tempfile with an arbitrary name to write the stripped binary to, and then renames it back to the incoming filename. So the current mechanism will find that "tmpXYZ" is a Windows binary file, the .exe suffix was not given in the source, and no suffix (in the previous incarnation "no .exe suffix") has been specified for the target, so it appends .exe to the target filename. The old implementation results in another problem, see http://cygwin.com/ml/cygwin/2009-11/msg00106.html 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |