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

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

Date: Sun, 28 Mar 2010 03:53:07 +0200

To: Michal Sojka, notmuch@notmuchmail.org

Cc:

From: Sebastian Spaeth


On Sun, 28 Mar 2010 00:37:00 +0100, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
> On Fri, 26 Mar 2010 22:18:13 +0100, Michal Sojka <sojkam1@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

Thread: