From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92405 invoked by alias); 17 Mar 2015 10:51:36 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 92391 invoked by uid 89); 17 Mar 2015 10:51:35 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Mar 2015 10:51:34 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 97F99A807C9; Tue, 17 Mar 2015 11:51:32 +0100 (CET) Date: Tue, 17 Mar 2015 11:00:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Changes in process spawning break perl system() function Message-ID: <20150317105132.GP6096@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <5507768E.20108@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hNG1vEeyG8BCaHbQ" Content-Disposition: inline In-Reply-To: <5507768E.20108@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-03/txt/msg00281.txt.bz2 --hNG1vEeyG8BCaHbQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 907 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 Content-length: 819 -----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--