delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/10/30/18:15:36

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Tue, 30 Oct 2001 18:16:25 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: New 1.3.4-blocking problem: execvp causes $0 to contain windows path instead of Unix path
Message-ID: <20011030181625.B17034@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20011030185024 DOT 32684 DOT qmail AT lizard DOT curl DOT com> <20011030221857 DOT 2548 DOT qmail AT lizard DOT curl DOT com>
Mime-Version: 1.0
In-Reply-To: <20011030221857.2548.qmail@lizard.curl.com>
User-Agent: Mutt/1.3.21i

On Tue, Oct 30, 2001 at 05:18:57PM -0500, Jonathan Kamens wrote:
>OK, this broke between 10/22 and 10/23.  It's almost certainly a
>result of this change:
>
>  date: 2001/10/22 16:40:26;  author: cgf;  state: Exp;  lines: +8 -0
>  * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.
>  * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
>  * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
>  * system.c (_system_r): Ditto.
>
>However, I can't see anything in this change that actually explains
>why the bug would suddenly start happening.  I suspect that in fact
>this change is correct but unmasked a previously existing bug.
>
>I've got to leave in a few minutes.  I may or may not have time to
>look at it more tonight; if not, I'll keep looking in the morning.

It's caused by this change:

2001-10-22  Christopher Faylor  <cgf AT redhat DOT com>

[snip]
        * exec.cc (execvp): New function.
        (execvpe): Ditto.

I know what's causing the problem and expect to have a fix shortly.

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019