svn commit: samba r2023 - branches/SAMBA_3_0/source/lib

Andrew Bartlett abartlet at samba.org
Tue Aug 24 22:38:14 GMT 2004


On Wed, 2004-08-25 at 06:58, vlendec at samba.org wrote:
> Author: vlendec
> Date: 2004-08-24 20:58:12 +0000 (Tue, 24 Aug 2004)
> New Revision: 2023
> 
> WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2023&nolog=1
> 
> Log:
> If there's garbage in the pidfile, we should not panic but assume that no one
> else is around. We can't find the other guy anyway.

The other thing we could do here is move the check for a valid fcntl()
lock up to the top - a bogus (half-written, unsynced etc) file is
unlikely to have our magic lock.

Andrew Bartlett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20040825/9af8ccce/attachment.bin


More information about the samba-technical mailing list