This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated [test]: bash-4.4.5-1


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: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]