notmuch/lib
Austin Clements bfe4555325 lib: Remove message document directly after removing the last file name.
Previously, notmuch_database_remove_message would remove the message
file name, sync the change to the message document, re-find the
message document, and then delete it if there were no more file names.
An interruption after sync'ing would result in a file-name-less,
permanently un-removable zombie message that would produce errors and
odd results in searches.  We could wrap this in an atomic section, but
it's much simpler to eliminate the round-about approach and just
delete the message document instead of sync'ing it if we removed the
last filename.
2011-09-23 21:50:39 -04:00
..
database-private.h lib: Add support for nested atomic sections. 2011-09-23 21:50:38 -04:00
database.cc lib: Remove message document directly after removing the last file name. 2011-09-23 21:50:39 -04:00
directory.cc Add a generic function to get a list of terms with some prefix. 2011-03-21 02:45:18 -04:00
filenames.c Implement an internal generic string list and use it. 2011-03-21 02:45:18 -04:00
gen-version-script.sh lib/gen-version-script.h: add getline and getdelim to notmuch.sym if needed 2011-09-05 07:44:14 -03:00
index.cc tag signed/encrypted during notmuch new 2011-05-27 16:22:00 -07:00
libsha1.c fix sum moar typos [comments in source code] 2011-06-23 15:58:39 -07:00
libsha1.h fix sum moar typos [comments in source code] 2011-06-23 15:58:39 -07:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local libnotmuch: only build symbols list after the modules are built 2011-07-20 21:42:35 -03:00
message-file.c Fix appending of Received headers 2011-06-10 17:03:14 -07:00
message.cc lib: Remove message document directly after removing the last file name. 2011-09-23 21:50:39 -04:00
messages.c Implement an internal generic string list and use it. 2011-03-21 02:45:18 -04:00
notmuch-private.h lib: Remove message document directly after removing the last file name. 2011-09-23 21:50:39 -04:00
notmuch.h lib: Add support for nested atomic sections. 2011-09-23 21:50:38 -04:00
query.cc Mark some structures in the library interface with visibility=default attribute. 2011-05-11 13:27:15 -07:00
sha1.c Typsos 2009-11-18 03:21:36 -08:00
string-list.c Fixup string list author 2011-03-21 02:45:18 -04:00
tags.c Implement an internal generic string list and use it. 2011-03-21 02:45:18 -04:00
thread.cc Mark some structures in the library interface with visibility=default attribute. 2011-05-11 13:27:15 -07:00
xutil.c xutil: Implement xstrndup without relying on strndup. 2009-12-01 12:51:39 -08:00
xutil.h lib: Add GCC visibility(hidden) pragmas to private header files. 2010-11-01 22:35:48 -07:00