bug-gnulib
[Top][All Lists]
Advanced

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

Re: bug#17773: AIX build errors with coreutils-8.22


From: Pádraig Brady
Subject: Re: bug#17773: AIX build errors with coreutils-8.22
Date: Fri, 13 Jun 2014 20:03:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 06/13/2014 06:57 PM, Paul Eggert wrote:
> On 06/13/2014 10:29 AM, Pádraig Brady wrote:
>> So I'd be inclined to add those definitions in the pthread module,
>> but if not we could define at the top of sort.c at least?
> 
> The latter doesn't sound safe, since it would mean the files in 
> libcoreutils.a would be compiled without -D_THREAD_SAFE and would thus access 
> a global shared errno even when linked with sort.c. So I vote for the former.

Attached implements that.

Note this doesn't change anything for projects that (indirectly) use threadlib,
like coreutils for example. They're already covered in that case.

thanks,
Pádraig.

Attachment: gnulib-pthread-pthread-macros.patch
Description: Text Data


reply via email to

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