[PATCH 2/2] notmuch-restore: handle empty input file, leading blank lines and comments.

2013-01-06 Thread Tomi Ollila
On Wed, Dec 26 2012, david at tethera.net wrote: > From: David Bremner > > This patch corrects several undesirable behaviours: > > 1) Empty files were not detected, leading to buffer read overrun. > > 2) An initial blank line cause restore to silently abort > > 3) Initial comment line caused form

Re: [PATCH 2/2] notmuch-restore: handle empty input file, leading blank lines and comments.

2013-01-05 Thread Tomi Ollila
On Wed, Dec 26 2012, da...@tethera.net wrote: > From: David Bremner > > This patch corrects several undesirable behaviours: > > 1) Empty files were not detected, leading to buffer read overrun. > > 2) An initial blank line cause restore to silently abort > > 3) Initial comment line caused format

[PATCH 2/2] notmuch-restore: handle empty input file, leading blank lines and comments.

2012-12-26 Thread da...@tethera.net
From: David Bremner This patch corrects several undesirable behaviours: 1) Empty files were not detected, leading to buffer read overrun. 2) An initial blank line cause restore to silently abort 3) Initial comment line caused format detection to fail --- notmuch-restore.c | 17 -

[PATCH 2/2] notmuch-restore: handle empty input file, leading blank lines and comments.

2012-12-26 Thread david
From: David Bremner This patch corrects several undesirable behaviours: 1) Empty files were not detected, leading to buffer read overrun. 2) An initial blank line cause restore to silently abort 3) Initial comment line caused format detection to fail --- notmuch-restore.c | 17 -