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

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

Date: Thu, 22 Dec 2011 20:04:37 +0000

To: Austin Clements

Cc: notmuch@notmuchmail.org

From: David Edmondson


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

Sigh.

      if (write(2, msg, sizeof(msg)-1) != sizeof(msg)-1) {
part-000.sig (application/pgp-signature)

Thread: