bug-gnulib
[Top][All Lists]
Advanced

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

Re: libposix stuff


From: Eric Blake
Subject: Re: libposix stuff
Date: Mon, 08 Nov 2010 15:50:56 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc14 Mnenhy/0.8.3 Thunderbird/3.1.6

On 11/08/2010 03:09 PM, Bruce Korb wrote:
> On 11/08/10 13:29, Ralf Wildenhues wrote:
>>> [...] "a.out" format:
>>>     char *program_name;
>>> this on a line by itself was both a declaration and a definition.
> 
>> On OS X that may just be the case because libtool forces -fno-common
>> (for some good reason, but I tend to forget what it was), which disables
>> common sections.
> 
> I didn't think my memory was getting that bad.....
> 
> Then what is the solution?  It would not feel right to require programs
> that are asking for "libposix" to also call a non-posix function just
> because it is convenient for the error POSIX module.

error() is not POSIX.  Maybe the thing to do is figure out what in
libposix is dragging in error(), and work on breaking that dependency.
That way, a package using libposix then makes their own decision of
whether to supplement things with error() and program_name.

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