* Re: Updated [test]: bash-4.4.5-1
[not found] <47a95317-4845-16fb-21db-3befaa8b94be@redhat.com>
@ 2016-12-16 19:27 ` Eric Blake
0 siblings, 0 replies; only message in thread
From: Eric Blake @ 2016-12-16 19:27 UTC (permalink / raw)
To: The Cygwin Mailing List
[-- Attachment #1.1: Type: text/plain, Size: 1164 bytes --]
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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-16 19:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <47a95317-4845-16fb-21db-3befaa8b94be@redhat.com>
2016-12-16 19:27 ` Updated [test]: bash-4.4.5-1 Eric Blake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).