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: default PATH


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ugh - top-posting reformatted. http://cygwin.com/acronyms/#TOFU

>
> On 2/6/06, Eric Blake <ericblake AT comcast DOT net> wrote:
                                  ^^^^
Ugh - http://cygwin.com/acronyms/#PCYMTNQREAIYR

>>>PATH is "inherited" from my WinXP environment as usual but it is not
>>>prepend with "/bin" like before the upgrade, and is now appended with
>>>".".
According to Julien Thewys on 2/8/2006 2:58 AM:
> Solution is to reinstall 'base-files' (see
> http://www.cygwin.com/ml/cygwin/2006-02/msg00222.html).
>
> My PATH was appended with '.' because of a trailing ';' in my Windows PATH.

Yes, this is correct behavior, but it often catches people by surprise.
POSIX requires an empty string in your PATH to be treated as the current
directory, and while people are less likely to start their Windows PATH
with ; or to have ;; in the middle, a trailing ; is pretty common from
applications that don't know any better on Windows.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD6ey084KuGfSFAYARAgh3AKDHmpuvS0WqivU0l9I0HLHo62ru8ACfavNt
Ni+Az9tbH6o1VoyNj7eCIvM=
=52wT
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]