search for: flint_lock

Displaying 5 results from an estimated 5 matches for "flint_lock".

2016 Aug 07
2
debian (1.2.22-3~bpo8+1) package build failure
...vial patch to set FD_CLOEXEC on the > > flintlock lockfd when using F_OFD_SETLK > > Fwiw, this is the patch I was originally going to test. > (but now I see maybe my F_SETFD might only need to be > called on F_OFD_SETLK success) Description at bottom. > > --- a/backends/flint_lock.cc > +++ b/backends/flint_lock.cc > @@ -108,6 +108,10 @@ FlintLock::lock(bool exclusive, string & explanation) { > return ((errno == EMFILE || errno == ENFILE) ? FDLIMIT : UNKNOWN); > } > > +#ifdef FD_CLOEXEC > + (void)fcntl(lockfd, F_SETFD, FD_CLOEXEC); > +#...
2016 Aug 06
2
debian (1.2.22-3~bpo8+1) package build failure
I'm trying to test a trivial patch to set FD_CLOEXEC on the flintlock lockfd when using F_OFD_SETLK and am running into a build failure even in an unpatched state. This is on a Debian jessie amd64 system building the jessie-backports version. The stable version (1.2.19-1+deb8u1) works and builds fine using the same commands, however I also encountered a similar build problem in a sid chroot
2016 Feb 21
5
Database left unlocked by Tcl bindings
...ng to set up Tcl bindings for Notmuch (https://notmuchmail.org/), which uses Xapian, that flintlock was not being locked (I had lost updates). I then found that opening a Xapian database for writing directly via the Xapian Tcl bindings also silently fails to lock flintlock. I have taken a copy of flint_lock.cc to play with, and I find that it locks the file when called from a minimal C main program, but not when bound as a Tcl extension. What happens is that fcntl with F_SETLK fails to get the lock, but reports success. If anyone is using the Tcl bindings you might need to be aware of this. Has anyo...
2017 Mar 15
2
xapian core missing link to math on MSYS2
...ist.o backends/.libs/alltermslist.o backends/.libs/dbcheck.o backends/.libs/database.o backends/.libs/databasereplicator.o backends/.libs/dbfactory.o backends/.libs/slowvaluelist.o backends/.libs/valuelist.o backends/.libs/dbfactory_remote.o backends/.libs/contiguousalldocspostlist.o backends/.libs/flint_lock.o backends/chert/.libs/chert_alldocsmodifiedpostlist.o backends/chert/.libs/chert_alldocspostlist.o backends/chert/.libs/chert_alltermslist.o backends/chert/.libs/chert_btreebase.o backends/chert/.libs/chert_check.o backends/chert/.libs/chert_compact.o backends/chert/.libs/chert_cursor.o backends/c...
2006 Apr 06
2
build error : xapian-core-0.9.4_svn6707
....libs/libxapian.lax/libcommon.a/omdebug.o .libs/libxapian.lax/libcommon.a/omstringstream.o .libs/libxapian.lax/libcommon.a/utils.o .libs/libxapian.lax/libcommon.a/netutils.o .libs/libxapian.lax/libbackend.a/flint_table.o .libs/libxapian.lax/libbackend.a/database.o .libs/libxapian.lax/libbackend.a/flint_lock.o .libs/libxapian.lax/libbackend.a/quartz_alltermslist.o .libs/libxapian.lax/libbackend.a/net_termlist.o .libs/libxapian.lax/libbackend.a/quartz_values.o .libs/libxapian.lax/libbackend.a/flint_cursor.o .libs/libxapian.lax/libbackend.a/flint_metafile.o .libs/libxapian.lax/libbackend.a/quartz_termlis...