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'm not completely convinced by replacement of the "goto FAIL" with the multiple returns. I'd lean to towards being consistent with the notmuch codebase unless the FAIL block is really horrendous Is there a good reason to use TRUE and FALSE for return values rather than EXIT_SUCCESS and EXIT_FAILURE? It seems like the latter would be overall slightly simpler in notmuch_insert_command. d