On 05/18/2011 09:27 PM, Bruno Haible wrote:
>>   1) The strerror_r replacement, when EXTEND_STRERROR_R is defined,
>>      clobbers the strerror function's buffer, which it shouldn't.
> 
> Here comes the fix for 1). Tested on
> 
> --- modules/strerror  Thu May 19 04:13:54 2011
> ***************
> *** 7,14 ****
>   
>   Depends-on:
>   string
> ! errno           [test $REPLACE_STRERROR = 1]
> ! intprops        [test $REPLACE_STRERROR = 1]
>   
>   configure.ac:
>   gl_FUNC_STRERROR
> --- 7,16 ----
>   
>   Depends-on:
>   string
> ! errno            [test $REPLACE_STRERROR = 1]
> ! intprops         [test $REPLACE_STRERROR = 1]
> ! verify           [test $REPLACE_STRERROR = 1]
> ! strerror_r-posix [test $REPLACE_STRERROR = 1]

This change means that now strerror depends on strerror_r-posix, and
strerror_r-posix depends on strerror.  Is that circular dependency okay
for gnulib-tool?

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to