delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/27/07:29:54

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=irni2qCK1vLVK6qzgJJjooQ6F60ik/tV7MJ9K4+0jsA
bO/iowxlgngkIjO4UqnvMBTF5q9By13Z8R8wVEXEDUikNLSp1sM9BbjL46iqR++D
0Dzy7KyAckOCHsMTKyn0fZXM+88uJQ561IgOpNx0LEDHR3xSFMm0bsJvo1OYiobI
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=esgGGQ1GVvb+BBExkF6S+N2iRnE=; b=CgoErTtNVbG1JvSCu
TXjkVUYZoKOKziLXM7LTI+3N6aif89gcd2bw8FPhD+3g72IW3/P4QAeQzS+4um3h
odxI+BggyYn0be6lKCL0Pg5cVGxmYj+OdR/EV6JYi0/xJW//Nv4+xO7Lr/SA2I5p
3SD+HBYXZVeiO3XR45S+U3XN9Q=
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
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
X-Received: by 10.50.78.227 with SMTP id e3mr8820802igx.51.1372332573132; Thu, 27 Jun 2013 04:29:33 -0700 (PDT)
Message-ID: <51CC2219.4040700@gmail.com>
Date: Thu, 27 Jun 2013 13:29:29 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problems with patch
References: <CABEPuQ+ZbZpxD=JBhWOQoWCmx1yaUT7PxhZK318_mi=d8ncKHA AT mail DOT gmail DOT com> <51CC1E48 DOT 1080505 AT gmail DOT com> <CA+sc5m=iLjVWh9yQtYe1BAPxABvvJdZRU6_Bgw9XB-rR9ziWyA AT mail DOT gmail DOT com>
In-Reply-To: <CA+sc5m=iLjVWh9yQtYe1BAPxABvvJdZRU6_Bgw9XB-rR9ziWyA@mail.gmail.com>

Il 6/27/2013 1:17 PM, Earnie Boyd ha scritto:
> On Thu, Jun 27, 2013 at 7:13 AM, marco atzeri wrote:
>> Il 6/27/2013 12:49 PM, Alexey Pavlov ha scritto:
>>
>>> Prereq:
>>> Having two files with the same name in directory. One file without
>>> extension, second with ".exe". For example: "configure" and
>>> "configure.exe".
>>> I want patch "configure".
>>> During patch Cygwin delete "configure.exe" and I have only "configure".
>>>
>>> Regards,
>>> Alexey.
>>
>>
>> Alexey,
>> do not use two files in the same directory with and
>> without ".exe" extension
>>
>
> Regardless, Cygwin should not go deleting the .exe when the basename
> file exists.  A work-around may be to append a '.' character to the
> end of the file name.  I've used this method in the past but have not
> tested it with recent Cygwin's.
>

The workaround is "do not do it".
For cygwin "configure.exe" is also "configure", trying to outsmart this
fact is prone to failure.

Regards
Marco


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