From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6880 invoked by alias); 19 Jun 2013 02:02:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6847 invoked by uid 89); 19 Jun 2013 02:02:38 -0000 X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mho-03-ewr.mailhop.org (HELO mho-01-ewr.mailhop.org) (204.13.248.66) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 19 Jun 2013 02:02:37 +0000 Received: from pool-108-49-156-142.bstnma.fios.verizon.net ([108.49.156.142] helo=cgf.cx) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1Up7jH-0005Vl-UX for cygwin@cygwin.com; Wed, 19 Jun 2013 02:02:35 +0000 Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id E6A4160127 for ; Tue, 18 Jun 2013 22:02:34 -0400 (EDT) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19NCcLLrreSUX2rGox9896E Date: Wed, 19 Jun 2013 02:03:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: Adding MSYS functionality to Cygwin Message-ID: <20130619020234.GA3669@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <51C0B08E.8080900@etr-usa.com> <51C0D956.4090905@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51C0D956.4090905@etr-usa.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2013-06/txt/msg00477.txt.bz2 On Tue, Jun 18, 2013 at 04:04:06PM -0600, Warren Young wrote: >On 6/18/2013 13:30, ??????? ?????? wrote: >> 2013/6/18 Warren Young : >>> On 6/18/2013 12:40, ??????? ?????? wrote: >>>> >>>> 1. The correct definition of executables belonging to Cygwin DLL. >>> >>> Can you give an example of what you mean here? >>> >> All cygwin applications depends on cygwin1.dll. We need to translate >> arguments only for non-cygwin applications. > >It would be possible, though somewhat evil, for Cygwin's exec() >implementation to peek at the DLL dependency list of a program before >starting it, and from that infer whether it should automatically >translate paths. Cygwin already does this. It detects whether the program it is about to run uses the Cygwin DLL and, if not, makes decisions on how to handle exec. It would be relatively easy to extend this. cgf -- 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