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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=uViv ixkYs2kerVPxNfvKUYvbIzT4YgV1jNL5RQfJmHfJmcWuEWaSPq/u4kKZ8WhiayTl ScVfvf0ZSHWssuXRFdWdqnhm5YQOX/udyKBkpdi7jKxcpfaelRH9vF7KVywqLHk6 SyqCTpgj07L5fHc+cdykSQpZ1WM6qhxi2gXzXP8= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=9ZXeYQV6l2 vnXem4e6zqpIzpdJA=; b=PVtbumz/tdBYcFmvyhmkfupU2VXcmlDHJGb2iDeE86 fcsGypx8N7dEEOj+etM3ZVAxrp2vcxocNoZ5EKY4+12B0VpmKGJLiNZ2vitOM/vU FJq7zyXqL5iXFSDn4YtNNLyX3iIdtQ7/FsqGuw7DSvVpPwZFMJLWjQ9n24op9ojE E= 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=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_SBL autolearn=no version=3.3.2 X-HELO: mail-la0-f41.google.com X-Received: by 10.112.144.41 with SMTP id sj9mr59285702lbb.3.1426590018892; Tue, 17 Mar 2015 04:00:18 -0700 (PDT) Subject: Re: Changes in process spawning break perl system() function To: cygwin AT cygwin DOT com references: <5507768E DOT 20108 AT gmail DOT com> <20150317105132 DOT GP6096 AT calimero DOT vinschen DOT de> From: LRN message-id: <5508093A.2050703@gmail.com> Date: Tue, 17 Mar 2015 14:00:10 +0300 user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Thunderbird/39.0a1 mime-version: 1.0 in-reply-to: <20150317105132.GP6096@calimero.vinschen.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EDM9BN4jIGfxqtHW2ud5HpecUKKdCMlf8" X-IsSubscribed: yes --EDM9BN4jIGfxqtHW2ud5HpecUKKdCMlf8 Content-Type: multipart/mixed; boundary="------------060600070506030406060809" This is a multi-part message in MIME format. --------------060600070506030406060809 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 perlscr= ipt >> >> 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 Tried cygwin1-20150317.dll, the bug is fixed. --=20 O< ascii ribbon - stop html email! - www.asciiribbon.org --------------060600070506030406060809 Content-Type: application/pgp-keys; name="0x922360B0.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x922360B0.asc" -----BEGIN PGP PUBLIC KEY BLOCK-----=0A= Version: GnuPG v1.4.11 (MingW32)=0A= =0A= mQENBE48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PcCsb5bow53Ii=0A= M9pICELT0d3nB5iDFCQb3oiXdRitDJJtZ97vOUE+xpUeYTcHXZyLmXYyMA7cFa/b=0A= wRwj/5xofXYE0WlnHDn+0QOTf1BOGaWH1eZqYYBVKegKXW65Y7UOU4f0pZQUQ+FQ=0A= wbwnSDlFuJPKA5MDgDczqtAVtNsAEQEAAYkBJQQYAQIADwUCTjwMeQIbDAUJCWYB=0A= gAAKCRDrOCW+kiNgsJ2FCACaycPmmvwar2FwTbT+/OFM9rt9KQ6JCldNSePGNzHE=0A= k0WBu5HyzgGcuOqoQSIwPHGnu2zkZl0PMW/WW9648a4OBuK08zNmypHXQw3fG0nG=0A= KNsO6j86tOLINS6p/P4vMcF8Fz6ZdIwSj8oXnuku0C0nkLB/ja/VZk1wcI30ulJF=0A= A2EhgLWIXZaTBlWR4KitGiGL7yzpUzBarPE8YFZLF+rfqu7NlxeG3NbBA/5UmH6r=0A= FL5Cva/ajOJW2CtGyuROTYhqBfolxZtfSHHj1wOAlc+dA0utIW4NDbIyZxCoxDTF=0A= /lUIjgj/Xu0IRIsX5m6TbBl40LH81JI0g1750FJfP4de=0A= =3DaWCf=0A= -----END PGP PUBLIC KEY BLOCK-----=0A= --------------060600070506030406060809-- --EDM9BN4jIGfxqtHW2ud5HpecUKKdCMlf8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) iQEcBAEBAgAGBQJVCAlAAAoJEOs4Jb6SI2Cwqm8H/ijk58fVFfou/BPzu6AOKx+i BI94Qvn8koBhVf/GbYUoVy0On4V3tVSlDEx0/mXhd8KLpUwKxuGd4gIGt7/3asZ9 zkpI81Ys1zS58ZnsyXzHQyKf3HH97wQwg8wgsELJbl23Pw618X2B5gVBbuN0HBc0 04VP+y2Dujm7oM1wx8MpPi65rOrir3UTrjNhdnYPt5q/xjl6KC55+dhinca0kL5L 3XkbZnR69YAjJ6PJKaf637e+HaqillltrsQSAT58TQVKIP2Z4AwYuHm34fytXDkr 2DhcDqOsVSeJEAGcjPL3I9Ls+cRXmLehSMBRNRiQCaItZK4IrOUoJjbbwCHqEzI= =89FB -----END PGP SIGNATURE----- --EDM9BN4jIGfxqtHW2ud5HpecUKKdCMlf8--