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=KWdnq19/SGgCAl5WrsQrKT5OVuJGcEm3LEU73PR4Gehicbm9CgsHW UzmNospzWKtSRtaeuBs6ZL50NRKMRZibvM9cu6277IY1Wkw5BkLvpBeJl9Z5bPhx 2Rzs4kFxqZgpnHjltmdTTKTpf3gCdIxikCqS2HDV11ur6zP0ihtloQ= 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=4g0hW2uAww+LFGmkL5YN22MEONI=; b=jAsIGpIKQnk1z1Ffc23gr8TuRrkI T8vXmaM2OEO/NRsq/CpbaHtGeKUTJWal1PJI4yoOLl+GkAyDliwhbvDfNpiIlIo0 UsE7nVCk55VEMYhnjHjb/4fazPyEZMT0gOSGqxLuIZgIBshjiRTfq8HlL+q91VDy hXIA8evIDIG/okM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Tue, 17 Mar 2015 14:43:27 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Changes in process spawning break perl system() function Message-ID: <20150317134327.GR6096@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> <20150317105132 DOT GP6096 AT calimero DOT vinschen DOT de> <5508093A DOT 2050703 AT gmail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nLMor0SRtNCuLS/8" Content-Disposition: inline In-Reply-To: <5508093A.2050703@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) --nLMor0SRtNCuLS/8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 17 14:00, LRN wrote: > On 17.03.2015 13:51, Corinna Vinschen wrote: > > On Mar 17 03:34, LRN wrote: > >> How to reproduce: > >> 1) create a shell script (say, /usr/bin/shellscript) containing this: > >> > >> #!/bin/sh > >> echo ${0##*/} > >> > >> 2) create a symlink (say, /usr/bin/asymlink) that points to shellscript > >> > >> 3) create a perl script (say, /usr/bin/perlscript) containing this: > >> > >> #! /usr/bin/perl -w > >> system '/usr/bin/asymlink'; > >> > >> 4) run /usr/bin/perlscript > >> > >> Expected results: > >> "asymlink" should be echoed by the shellscript when it is run by perls= cript > >> > >> Actual results: > >> "shellscript" is echoed instead > >> > >> This affects 1.7.35. > >=20 > > Thanks for the report. I applied a fix for that and uploaded new > > snapshots to https://cygwin.com/snapshots/ > >=20 > > Could you please try them and report back? > >=20 > >=20 >=20 > Tried cygwin1-20150317.dll, the bug is fixed. Thanks for testing! Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --nLMor0SRtNCuLS/8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVCC9/AAoJEPU2Bp2uRE+g/A4P/jkeuxIf8bOIkCj8fZ0H1m6x XjKB1KQTwORajc+wDzn5vjswIVOzXSRF7J6Zo0n2CrZZ4GJhxSxk9pd3bE9ZMauV CiXcFMnwfzA/tDSbnvRZNP77rh5mQrwneo1paPiDoaBLwA6h4TR0VFpm6Pp0mQoU K6pRpNFcBre9tDhCwKIdfNY+W34Kvp5aVKCwr06eEUnM5j8oGYvobVTTSEjdpHot ZPFAWDZaaIIh6wP40IQ9wrMvmhwCEKuZS+iFywE1N9hA/HNnMMfA8+TtKa/wO13g xe3iUf8fxKkMEYiSizxj2DqDCijgWZFJ7KA1q0bUjhTS8e/BIuyUYa7Yqd9++UtV 2xF0a8qgJPdB4XZiJaibiCpgwCEizXQaScOP9fdoDITAICREFirpCgsH/89MY/EM rMKaZj1N4K3doTA6RNcveOAZv2GARcDEFZHvbAgw6j6lr8gbB13932RMCTLj5Mmn DDIyhUz5Ui/4zcs5typ8y2DYGu1Q7T9uxCW/WgpPNzm3HGmTRuQsxVjmtZ7HPFZs qGOTK33Pr35WZneaLGTZi/Yzuh/SEqXr8NcgUrPIG5/1q4Uhsk/jHk2N7hEo4wTz jVM83BY/xDdrPU0RQg1V5ANIRcDGLgTbTraSLFcBhDdvSlcfF9YJEb6LrpBv07mr 1sQawRGdF6jcASWHt8so =BLfI -----END PGP SIGNATURE----- --nLMor0SRtNCuLS/8--