rlm_exec triggered hang or local weirdness?

Joe Maimon jmaimon at ttec.com
Sun Oct 30 02:31:55 CET 2005



Alan DeKok wrote:

> Joe Maimon <jmaimon at ttec.com> wrote:
> 
>>One issue that appears to be cropping up is where debug output and the 
>>server appears to freeze up.
> 
> 
>   There's a bug in src/lib/misc.c, closefrom().  A "cvs update" should
> fix it.
> 
>   I also updated the code in src/main/threads.c, so that the "waiters"
> use a hash table, rather than a wacky queue implementation.  It should
> now be a lot easier to understand.

Looking at the diff for the reap_callback()

+        */
+       if (waitpid(pid, NULL, WNOHANG) == 0) return 0;
+       if (rcode == 0) return 0;
+

rcode is declared but not used before the test?

> 
>   Alan DeKok.
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
> 
> 



More information about the Freeradius-Devel mailing list