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

Attachment: pgpqyFzPPDVR2.pgp
Description: PGP signature

_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to