On Sat, Jun 21, 2003 at 07:47:37PM -0400, Alan DeKok wrote: > Oliver Graf <[EMAIL PROTECTED]> wrote: > > > > This patchs enables the detection of the correct > > > > gethostby(name|addr)_r command, which is needed by a threaded radiusd. > > Unless I'm greatly mistaken, that functionality was added many > months ago. See 'src/main/misc.c'
I don't see anything for gethostbyname_r. Or I have a different cvs than you. > > > I haven't looked at the diffs though, so it may not be relevant. > > > > For me its relevant. Without freeradius is not thread-safe. > > But the server ALREADY uses the '..._r' functions. What's the > problem? Or am I missing something? The BSD style check is done last. BSD style gethostbyxxxx is not thread safe on glibc2 systems. Cause the BSD check is done last, the configure script overwrites the previous detected GNU style gethostbyaddr_r. Just look at the diff, you will see that the sequence is changed (and a warning is added). Oliver. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
