[PATCH v2 06/10] cli: refactor insert

David Bremner david at tethera.net
Tue Sep 16 12:32:16 PDT 2014


Peter Wang <novalazy at gmail.com> writes:

> On Sat, 05 Jul 2014 10:18:05 -0300, David Bremner <david at tethera.net> wrote:
>> Peter Wang <novalazy at gmail.com> writes:
>> 
>> > -    cleanup_path = tmppath;
>> > -
>> > -    if (! copy_stdin (fdin, fdout))
>> > -	goto FAIL;
>> > +    if (! copy_stdin (fdin, fdout)) {
>> > +	close (fdout);
>> > +	unlink (tmppath);
>> > +	return FALSE;
>> > +    }

I've now pushed up to patch 6 in the series, along with a couple of
patches to deal with SONAME related breakage.

I did end up squashing this patch in.

d


More information about the notmuch mailing list