X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:subject:from:reply-to:to:date
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=HoMMfEQ+pf8TfyXb
	JDWSJSL6K2gNpHYZW0heL9mCdHVHgnUCQMMVv1kUIRSGZCH4gkooLodCJ1/njgxf
	lMispqr9nqQkaQ8JJ43jl/nqUYN1P/dNdhoZkcH+yS2iGPxRsz3822Pi1ZCV945m
	XUcJ0Njk4Iqz1op+YGKLPAoL4D8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:subject:from:reply-to:to:date
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=72jIgTHeeSaC65H2Crlge7
	pUnmg=; b=h0lkH/5ByX6z6sVkzChVAH0549W0CPJ9tMBtU8bRfbJjJmwOThsU+p
	pY1VJ/HnXlKhPA4MhyR43taUK1GCQ5IkwFKftXI5VwXUN2Wm8LfUFXI71pg1FXHf
	qZRmSMW9NaN4tGGBjd/2vsslEG/61pRVL2LJj5ob6DbpAQo0q/y9c=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: outgoing-yousee.gl-mut-gbl.as8677.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tdcadsl.dk; s=sela;	t=1570663528; bh=zNCzVc3uk5VmWDDyDD2qzUMZRu2e51NlW7EScGd/aaA=;	h=Message-ID:Subject:From:To:Date:In-Reply-To:References:	 MIME-Version:Content-Type:Content-Transfer-Encoding;	b=JKwi9uH+NaHyIB5Iv3yRjvrxwvBOukdiQP9eUhPX82RKc+KBmjz2KbOFjD1918xaA	 EYR8rS4/FUTkxvsSFWOHJcIUbKvA+bjnmZcGmwLVeEHhO5mnxY+ToKgQvMGoxkXlq4	 j5g5z/H8+jvS0h1hen+pq2rOGZ4mutVFAwNlRCi9Didjya09IsuexBdwjBKaOKO+bn	 PhV9RtaOa6C+7bjv5gd0O2pGcFz/1ebxlWhNEDJhff02kGw4lEQU5sXPlSoFUq2sNO	 VzeyEjhUWyn/kOy0NuL8RnjM6VMQuDt24ALXZAYTAwaAXokfrFj0zBAsnMt/re/6oM	 9wFvHNWstDxyA==
Authentication-Results: yousee.as8677.net; auth=pass (LOGIN)	smtp.auth=donpedro@tdcadsl.dk
Message-ID: <44c967db7f6941282c83a64ab4e966302379043a.camel@tdcadsl.dk>
Subject: Re: execvp* and spawnvp* react differently to same PATH environment variable
From: "Peter Dons Tychsen via cygwin" <cygwin@cygwin.com>
Reply-To: Peter Dons Tychsen <donpedro@tdcadsl.dk>
To: Ken Brown <kbrown@cornell.edu>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Date: Thu, 10 Oct 2019 01:25:27 +0200
In-Reply-To: <d613e3c2-0420-2233-2b1e-77c704824b3d@cornell.edu>
References: <1549599310.1980812.1570481495155.JavaMail.zimbra@tdcadsl.dk>	<d613e3c2-0420-2233-2b1e-77c704824b3d@cornell.edu>
User-Agent: Evolution 3.30.5 (3.30.5-1.fc29)
MIME-Version: 1.0
X-yse-mailing: LEGIT
X-yse-spamcause:  OK,	(-100)(0000)gggruggvucftvghtrhhoucdtuddrgedufedriedvgddvudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfvffevpdggtfgfpffufgeuufevtffkuefgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkuffhvfffjghftggfggfgsehtjeertddtreejnecuhfhrohhmpefrvghtvghrucffohhnshcuvfihtghhshgvnhcuoeguohhnphgvughrohesthgutggrughslhdrughkqeenucfkphepuddtrddviedrvddviedrudefudenucfrrghrrghmpehhvghlohepmhifuhhmfhdtfedtfedpihhnvghtpedutddrvdeirddvvdeirddufedupdhmrghilhhfrhhomhepughonhhpvggurhhosehtuggtrggushhlrdgukhdprhgtphhtthhopehksghrohifnhestghorhhnvghllhdrvgguuhdprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hi Ken,

> I think you're probably right.  The use of FE_NNF in execvp* was
> introduced in 
> commit 6d63272b.  I suspect it was just an oversight that the spawvp*
> functions 
> weren't changed in the same way.  I'll send a patch to the cygwin-
> patches list 
> to fix this.  When Corinna returns, she can tell us whether there's
> some reason 
> that spawnvp should be different from execvp.

Excellent. Thanks for the fast response. I will keep an eye out for
when it lands.

Thanks,

/pedro

--
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

