* david nicol <[EMAIL PROTECTED]> [2004-01-06 20:03]:
> I'm also safe from the implementation needing the flock bits if
> it uses them.  I don't know that they do, but I also don't know
> that they don't.

You're also safe because tieing and locking is not an atomic
operation, and some DBM libraries modify the file as soon as they
open it. tieing first and locking the DBM afterwards would create
a race condition.

-- 
Regards,
Aristotle
 
"If you can't laugh at yourself, you don't take life seriously enough."

Reply via email to