bad PATH conversion under XP

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Feb 2 11:01:00 GMT 2011


On Feb  2 11:54, Matthias Andree wrote:
> 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?

Existing applications might rely on the existing behaviour, especially
related to the backslash.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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



More information about the Cygwin mailing list