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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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: <02c12d6e-cc18-89af-db83-1813cc8f0c97 AT redhat DOT com> In-Reply-To: From: Dan Kegel Date: Tue, 9 Oct 2018 10:19:13 -0700 Message-ID: Subject: Re: Fun with cp -R error when both foo and foo.exe exist To: cygwin AT cygwin DOT 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