delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/26/18:27:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 26 Jul 2005 15:27:17 -0700 (PDT)
From: Andrew Ho <andrew AT tellme DOT com>
X-X-Sender: andrew AT shell02 DOT corp DOT tellme DOT com
To: Michael G Schwern <schwern AT pobox DOT com>
Cc: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>,
Scott Bolte <listS+cygwin AT niss DOT com>, cygwin AT cygwin DOT com,
perl5-porters AT perl DOT org, petdance AT cpan DOT org
Subject: Re: [perl-5.8.7] Perl regression tests fail when lib directory is present
In-Reply-To: <20050726220709.GD22354@windhund.schwern.org>
Message-ID: <Pine.GSO.4.62.0507261519170.7272@shell02.corp.tellme.com>
References: <200507261243 DOT j6QCheAN076020 AT crag DOT niss DOT com> <42E67834 DOT 50206 AT familiehaase DOT de> <20050726182021 DOT GC20886 AT windhund DOT schwern DOT org> <42E67F87 DOT 1030408 AT familiehaase DOT de> <20050726191214 DOT GA21612 AT windhund DOT schwern DOT org> <42E6A3A4 DOT 6020208 AT familiehaase DOT de> <20050726220709 DOT GD22354 AT windhund DOT schwern DOT org>
MIME-Version: 1.0

Hello,

As the original instigator of this thread, maybe I can help continue its 
usefulness. I think the current consensus is as follows:

     * This all has nothing at all to do with with ExtUtils::MakeMaker
       (so I have removed that list from the Cc list).

     * There is nothing intrinsically wrong with what Test::Harness is
       doing, although its recent change (in version 2.44) was what
       triggered the Perl/Cygwin bug we have discovered.

     * We have a current workaround for the Test::Harness breakage
       (roll back Test::Harness to 2.42, or edit Test::Harness::Straps
       to change the "local $ENV{PERL5LIB}" to something like
       "local $ENV{PERL5LIB} = ''".

     * For at least Perl 5.8.7 on Cygwin, delete()ing an environment
       variable does not apparently remove that variable from the
       environment of a subprocess. Scott Bolte provided a repro case:

                 #!/usr/bin/perl
                 use strict;
                 use warnings;

                 $ENV{SHOULD_NEVER_BE_SEEN} = "hello world";
                 delete($ENV{SHOULD_NEVER_BE_SEEN});
                 system("printenv | grep SHOULD_NEVER_BE_SEEN");

       On Unix systems this script appropriately prints nothing.
       On an up to date Cygwin installation this prints "hello world".

So I think the next step is to figure out who can help look at that latter 
problem. Is there a bug I or someone else should file somewhere?

Humbly,

Andrew

----------------------------------------------------------------
Andrew Ho                                      andrew AT tellme DOT com
Staff Engineer                                      650-930-9062
Tellme Networks, Inc.                     http://www.tellme.com/
----------------------------------------------------------------

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

- Raw text -


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