[openbeosnetteam] Re: libbind.so status

> "Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx> wrote:
> > libbind.so compiles fine and there are not linker errors when I run 
> > Mozilla.
> > But it does not resolve the hostname. :(
> > All functions are called, but select() always times out.
> 
> Almost nice :)

Yeah, almost. :)

> > Shall I commit the source so you can have a look at it, too? It would 
> > be a 
> > 1.2MB commit, so we should warn modem users on the main list.
> 
> Do that; I guess it's thought to go into the repository anyway.

Okay, I will write a short notice. Thursday should give all people enough time.

> > Unfortunately, I could not leave all headers and sources untouched. 
> > The *_r functions want _REENTRANT to be defined, so I added
> > #define _REENTRANT 1
> > to netdb.h and resolv.h. Also, our private pthread code has some 
> > issues 
> > that need special handling. All changes are documented in DEVNOTES.
> 
> You've added those to public headers? Is that really needed?
> Can't you just let the Jamfile define _REENTRANT when compiling 
> libbind.so and change the headers not to care about _REENTRANT at all?

That would be possible, too. I could also remove the other #ifdef's that check 
for the OS type. We do not need them anyway.

Bye,
Waldemar

Other related posts: