Glenn Nielsen a écrit :
It isn't quite that easy. On Solaris the args for gethostbyname_r are different than on the AS400.
Arg, you're right, same thing on Linux ....
may be the configure task should get some discover code from apr (cf apr_network.m4 from APR).
When you build mod_jk for apache 2 _REENTRANT will be defined if
it is needed by apache. A simple #ifdef will work.
I already did this but when I tested it caused other problems. I haven't had a chance yet to go back and fully test and debug this change. I'll get to it this week.
Or maybe we should delegate it to APR if we detect it in build :
find_adresses seems a good candidate and when you see all the OS case it handle, it's better use APR in such case isn't it ?
We don't use APR anywhere in mod_jk 1.2 except inside the apache 2 mod_jk.c. No reason to require APR for all OS/servers for just this one thing.
Glenn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]