X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 24 Sep 2009 11:16:55 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Is this a known problem with getenv() ?
Message-ID: <20090924091655.GD30267@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <005f01ca3c4b$e5385b10$4001a8c0@mycomputer> <20090923121735.GA20981@calimero.vinschen.de> <002f01ca3c57$532cd9b0$4001a8c0@mycomputer> <001701ca3c76$ef1a0db0$4001a8c0@mycomputer> <00a901ca3ce5$14ba2000$4001a8c0@mycomputer>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <00a901ca3ce5$14ba2000$4001a8c0@mycomputer>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sep 24 07:03, John Emmas wrote:
> Regarding my problem (extra entries being added to my path when I run a
> program under X11) I've tracked the problem down a bit further and I've
> realised that it isn't a problem with getenv().  In actual fact, the problem
> seems to be caused by startxwin.bat and xterm, which both seem to be
> contributing extra entries to my PATH..
>
> If I edit startxwin.bat to remove the line that modifies PATH - and to
> comment out the call to xterm, the problem goes away.  However, if I launch
> an xterm (which is desirable) it mysteriously seems to acquire some extra
> PATH entries from somewhere.
>
> Can anyone suggest where they might be coming from?

Maybe you should ask the question on the cygwin-xfree list.


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

