Database left unlocked by Tcl bindings

Eric J eric at deptj.eu
Sun Feb 21 19:55:21 GMT 2016


On Sun, 21 Feb 2016 14:15:25 +0100 (CET), Eric J <eric at deptj.eu> wrote:
> I discovered, while trying to set up Tcl bindings for Notmuch
> (https://notmuchmail.org/), which uses Xapian, that flintlock was not
> being locked (I had lost updates).
8>< --------

> What happens is that fcntl with F_SETLK fails to get the lock, but
> reports success.

Actually I have now found that the fcntl works, it is the execl which
loses the lock!

Eric
-- 
ms fnd in a lbry



More information about the Xapian-discuss mailing list