X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4D4937F5.7010104@gmx.de> Date: Wed, 02 Feb 2011 11:54:45 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: bad PATH conversion under XP References: <4D3F6779 DOT 5010100 AT laposte DOT net> <4D3F8295 DOT 2020109 AT cpan DOT org> <4D488C09 DOT 7050606 AT laposte DOT net> <20110202100409 DOT GB32233 AT calimero DOT vinschen DOT de> In-Reply-To: <20110202100409.GB32233@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Am 02.02.2011 11:04, schrieb Corinna Vinschen: > On Feb 1 23:41, Cyrille Lefevre wrote: >> I'm reporting a cygwin bug... >> of course I know I could edit the windows environment variables. >> however, this problem has to be fixed. > > I agree. It's not the user's fault that Windows applications and > Windows itself add paths to the environment using quotes and trailing > backslashes. I applied a patch which removes those, but only when > Cygwin actually fetches the Win32 environment and initially converts the > path lists like %Path%. This is not done when calling the > cygwin_conv_path_list function from the application. No offense intended, but is it useful to introduce such distinctions as to when/where/how the variable is fetched? It might cause hard-to-debug problems later on, don't you think? -- Matthias Andree -- 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