delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 19 Oct 2009 21:47:35 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 1.7.0-62: segfault when PATH is not set |
Message-ID: | <20091019194735.GG27964@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <FE6D94EE-6C4A-43C8-B373-F2681925AF32 AT free DOT fr> <20091019093631 DOT GA3986 AT calimero DOT vinschen DOT de> <5C9B4EF4-C83E-4D45-93C6-F6079B756F88 AT free DOT fr> |
MIME-Version: | 1.0 |
In-Reply-To: | <5C9B4EF4-C83E-4D45-93C6-F6079B756F88@free.fr> |
User-Agent: | Mutt/1.5.17 (2007-11-01) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
On Oct 19 21:18, Denis Excoffier wrote: > On 2009-10-19 11:36, Corinna Vinschen wrote: >> Strange. I can't reproduce this: >> >> $ env - PATHOS=/dqd /usr/bin/date >> Mon Oct 19 11:26:46 WEDT 2009 >> >> $ env - PATHOS=/nonexistent /usr/bin/env >> PATHOS=/nonexistent >> SYSTEMROOT=C:\Windows >> WINDIR=C:\Windows >> > You're right, it seems that LC_CTYPE is also involved in this. Please try > under sh: > > $ export LC_CTYPE= > $ env - PATHOS=/nonexistent /usr/bin/date > Mon Oct 19 13:12:40 RDT 2009 > > $ export LC_CTYPE=dummy > $ env - PATHOS=/nonexistent /usr/bin/date > Segmentation fault (core dumped) > > $ export LC_CTYPE=C > $ env - PATHOS=/nonexistent /usr/bin/date > Mon Oct 19 13:12:40 RDT 2009 > > $ export LC_CTYPE=fr_FR.ISO-8859-15 > $ env - PATHOS=/nonexistent /usr/bin/date > Segmentation fault (core dumped) > > $ export LC_CTYPE=dummy > $ env - PATHOS=/nonexistent /usr/bin/date > Mon Oct 19 13:12:41 RDT 2009 > $ env - PATHOS=/nonexistent /usr/bin/env > PATHOS=/nonexistent > SYSTEMROOT=C:\WINNT > WINDIR=C:\WINNT > > Hope this helps. It does. The value of $PATH is used without checking if $PATH exists. I fixed that in CVS. Thanks for the report, 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |