rnews: batch naming and locking

Alex Kiernan alexk at demon.net
Tue Oct 22 16:41:25 UTC 2002



Miquel van Smoorenburg <miquels at cistron.nl> writes:

> According to Miquel van Smoorenburg:
> > The patch is not completely working though. The fixes are correct,
> > but the locking still has a race condition.
> > This is caused by the *stupid* POSIX fcntl() locking rules.
> 
> .. and here is the fix for that. We simply open the spool file
> twice, and use one fd for locking only.
> 

Ta, applied.

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc


More information about the inn-patches mailing list