X-Recipient: archive-cygwin@delorie.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 <matthias.andree@gmx.de>
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@cygwin.com
Subject: Re: bad PATH conversion under XP
References: <4D3F6779.5010100@laposte.net> <4D3F8295.2020109@cpan.org> <4D488C09.7050606@laposte.net> <20110202100409.GB32233@calimero.vinschen.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@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

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

