Michael Chernyakhovsky wrote: > open() executed once. but while we failed to get lock at first try, > close(outfd) executed and all the subsequent attempts to lock file > fails > > i comment line 293 out.
I don't understand why this helps. We open the file at the beginning of the do..while() loop, so it should be fine. BTW if you remove the close() line 293 you're leaking one file descriptor each time the lock fails. -- Nicolas Baradakis - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

