delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/16/14:27:17

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=mCOy
rbxSaIHhoL33MDcZ3Lnw2XdRxm45s1obngQOnr2kksR6z4kHZGypW4Ngb+Q84Iut
yrRQKmzzeUuQ8ITmz2ewhZEizIuBD/KSxy7MaqWIzE7y6udFu9zjxRINIO4CebeL
Sr3uMX3TU5p64tu3oPfsprPbK0udYlxCuA7Ix9s=
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=+6vbluwJOn
OVH1lQShFcL1q4ieI=; b=Mwp4TmvpgZfsYRsacWW1xHYIJuf/OhKRGB+zGo7jf5
Iy22XRVb1BozxTpjv7Gt+SES4LlYi5SEb0JCU0+xgkUUOyIxI0g24JBBdxLLEERL
zjbUCP1muZHTF6sJ8j+hyAqzQ+HKJsrlOM/Pr0yqKusd/f99wlCRZBO3DgI04gbb
o=
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=-4.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=speedy, complaints, raised
X-HELO: mx1.redhat.com
Subject: Re: Updated [test]: bash-4.4.5-1
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <47a95317-4845-16fb-21db-3befaa8b94be AT redhat DOT com>
From: Eric Blake <eblake AT redhat DOT com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Message-ID: <669c7f78-0f30-2e7b-4f5b-e9b2ffbc2da0@redhat.com>
Date: Fri, 16 Dec 2016 13:26:49 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <47a95317-4845-16fb-21db-3befaa8b94be@redhat.com>
X-IsSubscribed: yes

--LK15hkElVTXwPfHEJTo3LbWaM9PagBCss
Content-Type: multipart/mixed; boundary="iXJ92FbSDRhb25hVViUmnncTBUUnISiL8";
 protected-headers="v1"
From: Eric Blake <eblake AT redhat DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Message-ID: <669c7f78-0f30-2e7b-4f5b-e9b2ffbc2da0 AT redhat DOT com>
Subject: Re: Updated [test]: bash-4.4.5-1
References: <47a95317-4845-16fb-21db-3befaa8b94be AT redhat DOT com>
In-Reply-To: <47a95317-4845-16fb-21db-3befaa8b94be AT redhat DOT com>


--iXJ92FbSDRhb25hVViUmnncTBUUnISiL8
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 12/13/2016 04:30 PM, Eric Blake (cygwin) wrote:
> A new release of bash, 4.4.5-1, has been uploaded and will soon reach a
> mirror near you.  For now it is marked experimental, and requires the
> use of experimental readline7-7.0.1-1 (leaving bash 4.3.48-8 as the
> current version).  But if no major complaints are raised during testing,
> this will be promoted to current in a few days.

In testing this, I've noticed that the cygport install sub-command is
rather noisy on some binaries, due to its use of undefined behavior in
$() that causes the new bash to emit a warning:

/usr/share/cygport/lib/src_postinst.cygpart: line 970: warning: command
substitution: ignored null byte in input
/usr/share/cygport/lib/src_postinst.cygpart: line 977: warning: command
substitution: ignored null byte in input

A simple solution would be:

- case $(tail -c 12 "${exe}") in
+ case $(tail -c 12 "${exe}" | tr -d \\0) in

I'll wait to promote bash 4.4 to current until after I know if it is
worth waiting for a speedy cygport update.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--iXJ92FbSDRhb25hVViUmnncTBUUnISiL8--

--LK15hkElVTXwPfHEJTo3LbWaM9PagBCss
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJYVD/5AAoJEKeha0olJ0Nq/hQH/iOQJhoxFQorM8ZISZqTSdsp
3hI3uzTMm8AilQnyeXA+AVigkdnWnQTZxNcOa3NXlr1O9sprnL9JtyzGMeJvWAqH
pLfjYxtK9ZmbBsU7QxfPUzOv1nifQb9Mna/eIEsURE2cu43JmBCdtxm0w31ri2yH
I7ufo09IlC/GAxFthZfh3ocSQbTo9pab9a+Bj/jvE+yq31YbR5vk4K5tRJ1dWtHf
8rtFGRpcL7lasX7b6+7DoNkz5HyBsZy0BugKOxdHXljXeMzMTd9YUbjN0XAmJCt1
qav51xFD04qDoLcEuolQWJvL6liKTOGyZ64sjV/fi+MulolkJvzAT81rY03az20=
=oCUF
-----END PGP SIGNATURE-----

--LK15hkElVTXwPfHEJTo3LbWaM9PagBCss--

- Raw text -


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