[prev in list] [next in list] [prev in thread] [next in thread] 

List:       autoconf-bug
Subject:    Re: tests: avoid empty AT_DATA contents, for zsh.
From:       Eric Blake <eblake () redhat ! com>
Date:       2010-09-13 17:09:04
Message-ID: 4C8E5AB0.90505 () redhat ! com
[Download RAW message or body]

[adding bug-autoconf]

On 09/13/2010 08:18 AM, Eric Blake wrote:
> On 09/13/2010 08:16 AM, Eric Blake wrote:
>> On 09/12/2010 09:30 AM, Ralf Wildenhues wrote:
>>> This fixes the remaining testsuite failures with zsh 4.3.10 on FreeBSD.
>>>
>>> cat>file<<EOF
>>> EOF
>>>
>>> produces an empty file with sh, but a file containing a newline with
>>> zsh, even after 'emulate sh'. autoconf.texi patch coming up too, I
>>> guess.
>>
>> Ouch - that's a nasty bug. Have you reported it to the zsh list yet?
>
> Hmm, rather than fixing all _our_ uses of AT_DATA, but still having the
> problem for other clients, why not instead fix AT_DATA to special-case
> the empty argument to do the right thing for everyone? Don't apply this
> patch, and I'll help come up with an alternative.

Oops - I thought your patch was for autoconf when I asked you not to 
apply the patch.  On re-reading this, I see that it is a libtool patch 
instead.  Go ahead and apply the libtool patch, since you can't 
guarantee (or don't want to limit yourself to) a new enough autoconf. 
Meanwhile, in parallel, I will be patching autoconf to make AT_DATA 
explicitly allow empty files in 2.68.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic