NetBSD and cmake

Thiago Macieira thiago at kde.org
Mon Mar 27 17:16:36 CEST 2006


Hasso Tepper wrote:
>Thiago Macieira wrote:
>> Hasso Tepper wrote:
>> >getservbyname_r, getprotobyname_r and getservbyport_r symbols exist
>> > in NetBSD libc for binary compatibility, but no declaration in
>> > headers, so they can't be used for compiling. AFAICS only symbol in
>> > library is checked at the moment (check_function_exists), but it
>> > isn't enough.
>>
>> I remember this issue from before. Unfortunately, NetBSD insists on
>> not providing a suitable declaration for simple, thread-safe
>> functions.
>
>getservbyname, getprotobyname and getservbyport are all already
> threadsafe in NetBSD AFAICS. See
>http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/lib/libc/net/getservb
>yname.c?rev=1.13 for example.

True. We may change the code in NetBSD to use that.

But I'd really prefer a reentrant call. It would make the code more 
consistent.

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060327/95a0c25f/attachment.pgp 


More information about the Kde-buildsystem mailing list