From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116959 invoked by alias); 9 Oct 2019 23:25:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 116950 invoked by uid 89); 9 Oct 2019 23:25:33 -0000 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 Received: from outgoing-yousee.gl-mut-gbl.as8677.net (HELO outgoing-yousee.gl-mut-gbl.as8677.net) (193.201.76.59) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 Oct 2019 23:25:31 +0000 Received: from filter.yousee.as8677.net (localhost [10.26.226.131]) by mwumf0303.yousee.as8677.net (SMTP Server) with ESMTP id 46pVgr6sqHz1L5 for ; Thu, 10 Oct 2019 01:25:28 +0200 (CEST) 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== Received: from mwumf0303 (front03-smtp-abo-yousee.worldlinemail.net [10.26.226.131]) by mwumf0303.yousee.as8677.net (SMTP Server) with ESMTP id 46pVgr6FY4z1KY; Thu, 10 Oct 2019 01:25:28 +0200 (CEST) Received: from mwumf0303 (front03-smtp-abo-yousee.worldlinemail.net [10.26.226.131]) (Authenticated sender: donpedro@tdcadsl.dk) by mwumf0303.yousee.as8677.net (SMTP Server) with ESMTPA; Thu, 10 Oct 2019 01:25:28 +0200 (CEST) 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" Reply-To: Peter Dons Tychsen To: Ken Brown , "cygwin@cygwin.com" Date: Wed, 09 Oct 2019 23:25:00 -0000 In-Reply-To: References: <1549599310.1980812.1570481495155.JavaMail.zimbra@tdcadsl.dk> 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 X-SW-Source: 2019-10/txt/msg00051.txt.bz2 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