[RFC][PATCH] notmuch: Workaround to allow ignoring non-void function return.

David Edmondson dme at dme.org
Thu Dec 22 12:04:37 PST 2011


On Thu, 22 Dec 2011 19:25:59 +0000, David Edmondson <dme at dme.org> wrote:
>      if (write(2, msg, sizeof(msg)-1) {

Sigh.

      if (write(2, msg, sizeof(msg)-1) != sizeof(msg)-1) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111222/95efcc95/attachment.pgp>


More information about the notmuch mailing list