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: wordexp bug


On 08/17/2012 01:49 PM, Peter Rosin wrote:
> On 2012-08-17 15:35, Yaakov (Cygwin/X) wrote:
>> AFAICS wordexp(3) is completely broken, returning WRDE_SYNTAX no
>> matter what I supply as the string.  STC attached.
> 
> I suspect you are using Cygwin, and if so I suspect that we have been
> bitten by this change in bash-4.1-rc:
> 
> c.  The (undocumented) --wordexp option is no longer included by default.

Eeep.  Thanks for bringing this to my attention.  Delegating the work to
an external process feels awkward, but is certainly easier to maintain
than reimplementing the function from scratch in newlib.

> The documentation states that you have to enable the WORDEXP_OPTION
> when building bash, but I'll leave the details of how to do that to Eric,
> the Cygwin bash maintainer.

Yeah, I can figure that out.

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