bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

circular dependency [was: perror bug]


From: Eric Blake
Subject: circular dependency [was: perror bug]
Date: Fri, 20 May 2011 12:12:56 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]