From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16695 invoked by alias); 2 May 2014 01:33:21 -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 16670 invoked by uid 89); 2 May 2014 01:33:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 May 2014 01:33:15 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s421XEfx011840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 1 May 2014 21:33:14 -0400 Received: from [10.3.113.132] (ovpn-113-132.phx2.redhat.com [10.3.113.132]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s421XDm1005743 for ; Thu, 1 May 2014 21:33:14 -0400 Message-ID: <5362F5D9.1010800@redhat.com> Date: Fri, 02 May 2014 01:33:00 -0000 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: cygwin-bash compat/regression bug... startup line prob References: <5362C6A0.3040306@tlinx.org> In-Reply-To: <5362C6A0.3040306@tlinx.org> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MlhJipaH1R5FGKO2qdWV360xhVAF8Dkcd" X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00026.txt.bz2 --MlhJipaH1R5FGKO2qdWV360xhVAF8Dkcd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-length: 1271 On 05/01/2014 04:11 PM, Linda Walsh wrote: > The reason the above fails... (I got it to work).. is that if there is a > space > on the line after the "-u", that also fails. >=20 > I didn't deliberately put one there, but that it no longer handles > separate options is an evolution of software devolution. It NEVER worked to put more than one option. I don't know why you are arguing "software devolution" when there has been no regression in behavior, rather you are just experiencing something that has always been this way. And I already explained in the other message that yes indeed cygwin is different than Linux in that trailing whitespace is passed through on cygwin but stripped in Linux. >=20 > But NOTE -- the above error claims it is coming from /usr/bin/bash. > That's not my login shell nor on the shebang line. >=20 > That's cygwin-black-magic... converting all /bin paths to /usr/bin...even > shells?... I already explained in the other mail that this is a side-effect of cygwin converting to windows paths and then back during execve shebang computation, rather than preserving the argv[0] of the user. You are welcome to provide a patch. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --MlhJipaH1R5FGKO2qdWV360xhVAF8Dkcd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 604 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTYvXZAAoJEKeha0olJ0Nq1KEH/1/GIXZP/jMz6HZvQI0q0+vV uDLb1/Y39a31L2iiMUc2OZWLl5Dq99rGYOYzBxwJ6rfMNxQJl2hFHwXA7lzpsH6Q gI3YbnLot0zkFpndDQ2fth6tsiqvA/qn1yvzCiNUGtAc2cK3UFBudG/ckTcL8OdF b0XW1OQ2h+9vka4eutZsCUNPrAovdzkpOvNhjBzIYoJa6QY8HdWv7TYCbAYaYDRR uqGdQlE3jNtGgt0HqSTE/iJ3phdyW5JMEVhfpZ1dpXBi4kF0Fm368vs+2vdVIy1c W9hbq2lB9VW6rCKAotQ6sjN04uYL5xmosQMbEyk+Wtr/9/sao/CxUkxCrpTrKiw= =mSNT -----END PGP SIGNATURE----- --MlhJipaH1R5FGKO2qdWV360xhVAF8Dkcd--