[notmuch] [PATCH] Prevent data loss caused by SIGINT during notmuch new

Sebastian Spaeth Sebastian at SSpaeth.de
Sat Mar 27 18:53:07 PDT 2010


On Sun, 28 Mar 2010 00:37:00 +0100, "Sebastian Spaeth" <Sebastian at SSpaeth.de> wrote:
> On Fri, 26 Mar 2010 22:18:13 +0100, Michal Sojka <sojkam1 at fel.cvut.cz> wrote:
> > When Ctrl-C is pressed in a wrong time during notmuch new, it can lead
> > to removal of messages from the database even if the files were not
> > removed.

CC -O2	notmuch-new.o
notmuch-new.c: In function 'add_files_recursive':
notmuch-new.c:519: error: 'add_files_state_t' has no member named 'interrupted'
make: *** [notmuch-new.o] Error 1

I have not checked the code yet, but simply applying this patch make the
compile fail.

Sebastian


More information about the notmuch mailing list