delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/09/12:32:48

X-Spam-Check-By: sourceware.org
Message-ID: <43E9ECB4.1070905@byu.net>
Date: Wed, 08 Feb 2006 06:05:56 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: jt AT udev DOT org
CC: cygwin AT cygwin DOT com
Subject: Re: default PATH
References: <020620061512 DOT 1594 DOT 43E767490006AAD30000063A22007507840A050E040D0C079D0A AT comcast DOT net> <908c474e0602080158v2f84c0agb63e7ddcf5443d72 AT mail DOT gmail DOT com>
In-Reply-To: <908c474e0602080158v2f84c0agb63e7ddcf5443d72@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019