This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bad PATH conversion under XP

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]