1 Return-Path: <djcb@djcbsoftware.nl>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id D14F5431FBF
\r
6 for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 22:20:43 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id fDOkc6VNh1dP for <notmuch@notmuchmail.org>;
\r
11 Sun, 22 Nov 2009 22:20:42 -0800 (PST)
\r
12 Received: from gw03.mail.saunalahti.fi (gw03.mail.saunalahti.fi
\r
14 by olra.theworths.org (Postfix) with ESMTP id B2028431FAE
\r
15 for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 22:20:42 -0800 (PST)
\r
16 Received: from djcbsoftware.nl (a88-112-254-208.elisa-laajakaista.fi
\r
18 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by gw03.mail.saunalahti.fi (Postfix) with ESMTP id 1293521672F
\r
21 for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 08:20:41 +0200 (EET)
\r
22 Received: from cthulhu.mindcrime.djcbsoftware.nl (localhost [127.0.0.1])
\r
23 by djcbsoftware.nl (Postfix) with ESMTP id B8C4C39C009
\r
24 for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 08:20:40 +0200 (EET)
\r
25 Date: Mon, 23 Nov 2009 08:20:40 +0200
\r
26 Message-ID: <87skc5yd6v.wl%djcb@djcbsoftware.nl>
\r
27 From: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>
\r
28 To: "notmuch@notmuchmail org" <notmuch@notmuchmail.org>
\r
29 Mail-Reply-To: djcb@djcbsoftware.nl
\r
30 User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0
\r
32 Organization: DJCBSoftware
\r
33 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
\r
34 Content-Type: text/plain; charset=US-ASCII
\r
35 Subject: [notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to
\r
36 ignored write return values
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.12
\r
40 Reply-To: djcb@djcbsoftware.nl
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Mon, 23 Nov 2009 06:20:44 -0000
\r
52 From: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>
\r
53 Date: Mon, 23 Nov 2009 08:03:35 +0200
\r
57 notmuch-new.c | 4 +++-
\r
58 notmuch-tag.c | 4 +++-
\r
59 2 files changed, 6 insertions(+), 2 deletions(-)
\r
61 diff --git a/notmuch-new.c b/notmuch-new.c
\r
62 index a2b30bd..3d04efa 100644
\r
65 @@ -35,8 +35,10 @@ static volatile sig_atomic_t interrupted;
\r
67 handle_sigint (unused (int sig))
\r
70 static char msg[] = "Stopping... \n";
\r
71 - write(2, msg, sizeof(msg)-1);
\r
73 + ignored = write(2, msg, sizeof(msg)-1);
\r
77 diff --git a/notmuch-tag.c b/notmuch-tag.c
\r
78 index e2311f6..ec98c3b 100644
\r
81 @@ -25,8 +25,10 @@ static volatile sig_atomic_t interrupted;
\r
83 handle_sigint (unused (int sig))
\r
87 static char msg[] = "Stopping... \n";
\r
88 - write(2, msg, sizeof(msg)-1);
\r
89 + ignored = write(2, msg, sizeof(msg)-1);
\r