delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/17/06:51:50

X-Recipient: archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=aPgN9rrtF7bfh/xMf5nTBDXS74nCHT19aZ9Rnw2IKQwyk6DKh3KDR
zt9FLB0HjTCbupGRWrvqyzeGwIzx4UaR64E0zjosstEE+L6vCymUqnOJq6i+KNhO
316ItVKdaW4UI6qS/7Upg5+opYjpRjf1uc5H1+WL7LewxgMLTI7taM=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=+Dn4MPzQ5ut3q1xBZmGy2g/Wkfw=; b=ZTeSkEXjDLCCvh20vKIGKhogbpR8
9vX1V5THZZzDCHGvnQ8/BRERmGiHwFt3Xz/b2M26JmEYRxF8tgPYh3FHBH0LtQKa
6yx4tv9Att/7pIDHOJMQ6Vyfnyr9baROVPbcUn4t70Uq8kM19FgwDii5vS5uOFum
t0HOqBde7y8996E=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_40 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 17 Mar 2015 11:51:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Changes in process spawning break perl system() function
Message-ID: <20150317105132.GP6096@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5507768E DOT 20108 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <5507768E.20108@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--hNG1vEeyG8BCaHbQ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 17 03:34, LRN wrote:
> How to reproduce:
> 1) create a shell script (say, /usr/bin/shellscript) containing this:
>=20
> #!/bin/sh
> echo ${0##*/}
>=20
> 2) create a symlink (say, /usr/bin/asymlink) that points to shellscript
>=20
> 3) create a perl script (say, /usr/bin/perlscript) containing this:
>=20
> #! /usr/bin/perl -w
> system '/usr/bin/asymlink';
>=20
> 4) run /usr/bin/perlscript
>=20
> Expected results:
> "asymlink" should be echoed by the shellscript when it is run by perlscri=
pt
>=20
> Actual results:
> "shellscript" is echoed instead
>=20
> This affects 1.7.35.

Thanks for the report.  I applied a fix for that and uploaded new
snapshots to https://cygwin.com/snapshots/

Could you please try them and report back?


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--hNG1vEeyG8BCaHbQ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVCAc0AAoJEPU2Bp2uRE+g7fEP/2DSRHXxR4JL3D/A29seb2Pc
nu4UtJWDbfiBOrsd0VS6r3S5wRUUB55y3LZNxRtyhQ3j7ROPUG41+abAZpjfaAht
75xE6js8IMM8kUruMr5s/HUm9mfPXUwUTBiLGEXuNH1OFXHYG13h7uJMeJTbsg9x
VEBz73cot4q8T+1kadoCJgI3tLpNLbPMUdu+dfnqfxvjL6n2AStJ2DAZGqkUvCYf
HftlJMkOysA27HO+CyPDlt2YR+AOxaVeIuohJtdVuTXgh6i5Pi/bkh07hCoN8PT+
7KEnShZqpGShEbCOSfMz4WhPJ/n651BIbqBvSsouNNJk6RCCtZKD0ib66AER3Vtu
xEKBe8VLJwIL5PwtadUTpb1wxSrlvX4yrlVsv8YCD9l1hDqdDaZZBEcuRQXbo9AN
QgCqv6JrMVvrRS0Z/SDB7KJGo0pTsNsoYyjxXbzCHu/ppAb3+u3RMkGs7wLZLsYe
EA3DjSUbQNR58oHsl8o6cnHbAugk0oaCicDLrM95OrBBrpkipbqxHrTvL2cPhEfY
uMnp02O0h7NxvEB6U3StCFSDuzPFkACHMCxbb5X8FDSi/pLjjJtZiuSRNDHEsnrC
4p2s1YxuCnvYCz1+xc3QZnmCEB+fLBaraLJ7UDC+UA9bCamrHdJdPsMZY4lUjbJ8
zod1zqo68if5kB5msEjU
=zjJt
-----END PGP SIGNATURE-----

--hNG1vEeyG8BCaHbQ--

- Raw text -


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