RFC: Drop notice: KNetwork

Thiago Macieira thiago at kde.org
Thu Mar 1 10:14:13 GMT 2007


Andreas Aardal Hanssen wrote:
>If you think of it, it just makes sense. Why should everyone who uses
>gethostbyname() have to know that occasionally, they have to call
> res_init()?

I agree. But the bug is there.

This is Mandriva Cooker, running glibc 2.4, using yesterday's Snapshot.

$ cat /etc/resolv.conf
[empty]
$ /tmp/nettest/nettest
()
     ← at this point, I restore a working resolv.conf and press Enter
()

Source code is attached.

>> This will not translate to other systems. Will we have to?
>
>What systems?


-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 257 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070301/27c570be/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070301/27c570be/attachment.sig>


More information about the kde-core-devel mailing list