delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/01/21:33:41

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=pLgYcL
Jk9F28XG0ZHt5cdDNzbBhExKTfjYmxVNeAUIcIQBHRLZrFkE94FDJMKQeiijJqaM
wivv7565DBgpXQ2EXlfD9xXjo4H1OhPZAV+8rNF1LaS1eBSNX5KH+kNTKlNqyqkP
jEhr7zyTHGYM3L+REhyWGqdy6mNi7KoWQndiQ=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; s=default; bh=qnttQvWO8D7s
mE+/2LdMKVt2+Pg=; b=WVM/ZtvV2qcTj2Mu5A2/9PQA7Q88xExs7xAi5f4Wv7qa
1enBjPwEGelAPhrtfyRo4THFRCKux9RrKNOPJLnatw1zPF15DyxZ+tI2KdFR6bfe
1oDhaE3q05jfCBhW+KiF/BSssT2WQy5iCnuQ+HRjUtf660OSgqX9h1KVeEbHXL0=
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=-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
Message-ID: <5362F5D9.1010800@redhat.com>
Date: Thu, 01 May 2014 19:33:13 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-bash compat/regression bug... startup line prob
References: <5362C6A0 DOT 3040306 AT tlinx DOT org>
In-Reply-To: <5362C6A0.3040306@tlinx.org>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes

--MlhJipaH1R5FGKO2qdWV360xhVAF8Dkcd
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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"

-----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--

- Raw text -


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