This is the mail archive of the cygwin@cygwin.com 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]

bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10


I noticed that my windows programs see a strange and bogus PATH.

It is demonstrated here, from cmd.exe:

   Microsoft Windows 2000 [Version 5.00.2195]
   (C) Copyright 1985-2000 Microsoft Corp.

   c:\>PATH C:\Cygwin\bin;c:\cygwin\usr\bin;C:\Cygwin\usr\local\bin

   c:\>bash -i
   bash-2.05a$ echo $PATH
   /bin:/usr/bin:/usr/local/bin
   bash-2.05a$ /c/winnt/system32/cmd
   Microsoft Windows 2000 [Version 5.00.2195]
   (C) Copyright 1985-2000 Microsoft Corp.

   c:\>path
   PATH=c:\cygwin\bin;c:\cygwin\\bin;c:\cygwin\usr\local\bin
===============================^^
   c:\>

Notice the bogus double backslash.

Is this a known bug?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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