X-Recipient: archive-cygwin@delorie.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:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=CXWPHoP
	j7Y3l33F5TAnAgY/jCDROtGZ9ka7a941aH10YxhVo9ZmBCLMyxJEpNo/5EYwm8pM
	38zrQqbMFicZ0z6evmLZb0dPvZYO539RX9XaelmbwXvJAYRBIvQ8qzogu7Jplk5k
	ZcvnFrTcnFxgaoN9VKaYV/61xAQ4qixZ+4Og=
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:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:content-type; s=default; bh=Fuz5INxnFfm3a
	aMdxmzQHgmtv/c=; b=TgTzZ+7HaitLtGmEhnRKUeuNg7UNiB39vBcxkNGa8mtPS
	xBISVyw/ONikkG+0BP2gSxzSiIDMBsEaXSgbtP+N8J5nxycuYkVuORVf52KypH27
	cyW5K1OVG2YPaqOseDlpHorYfvQHz1EQbMiCFcNQOq1/gmjJmADMSxacuaUX30=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-HELO:sk:mail-pg, H*r:sk:mail-pg
X-HELO: mail-pg1-f172.google.com
MIME-Version: 1.0
References: <CAPF-yObTngOGu_+TSfSQo4bpi_tJ3572r_26cfidLZ5QpcPGYQ@mail.gmail.com> <f00936b7-cc2a-1a2c-7862-c79e10bed95d@gmail.com> <02c12d6e-cc18-89af-db83-1813cc8f0c97@redhat.com> <CAPF-yObUNPRE_xrnroc_rZHqPHGUGmzMKZXnT5ZrpLm2YCzW-g@mail.gmail.com> <c527de20-dc20-53a7-67eb-430f7a0c1b4f@redhat.com>
In-Reply-To: <c527de20-dc20-53a7-67eb-430f7a0c1b4f@redhat.com>
From: Dan Kegel <dank@kegel.com>
Date: Tue, 9 Oct 2018 10:19:13 -0700
Message-ID: <CAPF-yOZxgrd1SD4k4enTbmXb63v-QSrQpEVwKwsLymXz0WXThQ@mail.gmail.com>
Subject: Re: Fun with cp -R error when both foo and foo.exe exist
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"
X-IsSubscribed: yes

Right.  My thinking was that the auto-suffix probing makes
sense when running or checking for a program, but
not when creating a program.  (I could be wrong, and I imagine
if I actually compiled and tested the hack I'd find out pretty quickly
if it was at least obviously wrong.)

O_BINARY doesn't need to be there, but I included it as
an additional filter because cp uses it.  Can leave it out.

I misremembered suffices as a britishism, sorry.
- Dan

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

