X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 24 Sep 2009 11:16:55 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Is this a known problem with getenv() ? Message-ID: <20090924091655.GD30267@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <005f01ca3c4b$e5385b10$4001a8c0 AT mycomputer> <20090923121735 DOT GA20981 AT calimero DOT vinschen DOT de> <002f01ca3c57$532cd9b0$4001a8c0 AT mycomputer> <001701ca3c76$ef1a0db0$4001a8c0 AT mycomputer> <00a901ca3ce5$14ba2000$4001a8c0 AT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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