X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=4.9 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-id: <4C1279E9.9070807@cygwin.com> Date: Fri, 11 Jun 2010 14:01:13 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 'cp' utility bug when <dest-name>.exe file exist. References: <2BF01EB27B56CC478AD6E5A0A28931F20101D779 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit 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 On 6/11/2010 1:46 PM, Steven Collins wrote: > On Fri, Jun 11, 2010 at 08:38, Nellis, Kenneth wrote: >> Perhaps it's worth considering adding a CYGWIN environment >> variable option, e.g., exe_magic, and deliberately evolve >> the code base towards checking this setting before invoking >> exe magic. I, for one, never run my binaries in the Windows >> environment, so exe magic has no benefit and numerous >> disadvantages. The new option would default to ON, and >> individual users could change their setting to OFF as the >> evolution progresses to their satisfaction. > > If any traction can be gained on actually making this change I think > this is a very reasonable way to proceed. Based on previous comments > it is almost certain that early attempts at making this type of change > will introduce breakage. Having an environment variable (maybe not > CYGWIN) that must be set to a specific value to enable the new > behavior would provide an escape hatch when such breakage is > encountered by allowing a person to unset the variable and getting > back the original behavior. The one potential down-side I see to this > idea is what cost would be incurred by having to check the state of an > environment variable every place that currently has exe magic? It was done before on the way to where we are now: See "(no)transparent_exe". But there's really no point in making arguments about how to fine-tune an implementation when the implementation itself has been likened to a theoretical snowball spending the summer in hell. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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