[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kdm and res_gethostbyname
From: Thiago Macieira <thiagom () mail ! com>
Date: 2001-01-08 19:58:47
[Download RAW message or body]
Waldo Bastian wrote:
> The new kgreeter in xdmcp.c explicitly uses res_gethostbyname on Solaris
> instead of gethostbyname. However that doesn't work without linking to
> -lresolve. That's the same problem that we currently have in
> kdecore/ksock.cpp which tries to use res_init.
>
> How to proceed?
My suggestion is to use a wrapper function. res_gethostbyname should
not be used directly. Neither should gethostbyname, for that matter.
What I suggest NOW is not to touch that unless it's a problem. That
should be fixed when the socket stuff I'm writing is finished.
kdecore/ksock.cpp using res_init is broken anyways and it's #ifdef'ed
out (#ifdef INET6, which no one should ever set)
BTW, I'm sorry KExtendedSocket is taking so long.
--
Thiago Macieira - UFOT Registry number: 1001
thiagom@mail.com talha@geocities.com
ICQ UIN: 1967141 PGP: 0x8F2978D5 and 0xEA9037A5
Registered Linux user #65028
323/379. I've allotted one hour for recreational activity. There's no
time for irrelevant conversation. -- Seven of Nine, "Ashes to Ashes"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic