improved thread safety?
David Holder
david.holder at erion.co.uk
Sat Jan 19 17:29:52 GMT 2008
Jelmer Vernooij wrote:
>> gethostbyaddr
>> gethostbyname
>>
> I've filed bugs about these two.
>
>
The functions getnameinfo, getaddrinfo inet_pton and inet_ntop need
changing for IPv6 support anyway . The good news is that the latest IPv6
API functions are thread safe. It would be a good idea to migrate to
using sockaddr_storage at the same time as Jeremy has done in Samba 3.2.
This way a lot of the code could be made protocol independent.
Regards,
David
More information about the samba-technical
mailing list