[openbeosnetteam] Re: Fix for resolving host names

> That sounds like a big mess to me.

The whole stack is one BIG mess, but we do not care anymore. :)
It seems that getting a nice stack is the objective for R2. But actually, 
libnet.so will (or should) be reused, so that one could be cleaned up now. Any 
volunteers?

> 1) what is h_errno actually used for?

It is used to report the error status, I think. ;)

> 2) if it's used like the POSIX errno variable, why not copy the exact 
> mechanism?

I will try to find out how it is used exactly (or if it is used at all). Why is 
there h_errno_tls then?
Is our POSIX errno thread-specific or global?

Bye,
Waldemar

Other related posts: