Robby Griffin <[EMAIL PROTECTED]> wrote:
> Using freeradius-0.9.3 on NetBSD without thread support. When I kill 
> -HUP radiusd, it exits, logging "Error: Unexpected error in select(): 
> No child processes". This is due to src/main/radiusd.c revision 1.282, 
> which added a waitpid() call after select() to clean up zombies. 
> waitpid() clobbers the value of errno, which is then checked to see how 
> the select() failed.

  Ouch.  That's a stupid bug on my part.

> The attached patch simply saves the value of errno immediately after 
> select(). It is made against 0.9.3, and would conflict a bit with CVS, 
> but it's pretty obvious what to do here.

  Setting errno is generally a bad idea.  It's easier to just
re-arrange the code.

> Also, for what it's worth, the cvsweb CGI on www.freeradius.org is 
> giving cvs errors when I try to view a particular revision of a file 
> (but diffs and logs are working):

  Weird.  I'll look into that.

  Alan DeKok.

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

Reply via email to