Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-BigFish: VP Date: Wed, 08 Sep 2004 11:33:05 -0600 From: Isaac Foraker Subject: Re: 1.5.11: execvp bug (XP) In-reply-to: To: cygwin AT cygwin DOT com Message-id: <413F4251.1080403@xilinx.com> Organization: Xilinx, Inc. MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) References: <413E410F DOT 5010901 AT xilinx DOT com> <413E4760 DOT 8060509 AT xilinx DOT com> <413E8B44 DOT 9080706 AT xilinx DOT com> <413F38CF DOT 1010705 AT xilinx DOT com> X-IsSubscribed: yes Funny you should say that. My boss and I just discovered that as the culprit. There is a bug that only manifests in 1.5.11. Even though 'which perl' shows /usr/bin/perl, make was running /usr/local/bin/perl. The version of /usr/local/bin/perl somehow lost it's 'x' attribute, so it couldn't be run. So, now the question is why was perl being run from /usr/local/bin instead of /usr/bin when which perl shows perl in /usr/bin? This doesn't happen under Cygwin 1.5.10 DLLs. I suspect a problem with the execvp function. Thanks, IF Igor Pechtchanski wrote: >Do you have a "perl.exe" somewhere *else* in your PATH? Try "type -a >perl" from bash, or "which -a perl"... How about "type -a perl.exe" or >"which -a perl.exe"? What happens when you name the symlink "perl.exe" >instead of "perl"? > Igor > > > -- Isaac W. Foraker Sr. Software Engineer, Xilinx, Longmont, CO 720.652.3918 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/