[EMAIL PROTECTED] wrote:
> I'm slightly change modules.c and modules.h in order to make
> module_list_free() public accessible. And I place call to
> this function in radiusd.c sig_fatal() function. 

  That won't work.  If it does, then it works by accident.    Signal
call handling functions should do NO work, other than setting a
variable.


  So have sig_fatal() set a variable 'do_exit', and have the code in
the main loop after the select check for do_exit, on EINTR.  It can
then go to a special 'close and exit' routine.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to