1 Return-Path: <Vladimir.Marek@Oracle.COM>
\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 F3FA8431FAF
\r
6 for <notmuch@notmuchmail.org>; Mon, 9 Apr 2012 23:54:02 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-4.999 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_HI=-5, UNPARSEABLE_RELAY=0.001]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 2+4Yw0MuJnh8 for <notmuch@notmuchmail.org>;
\r
17 Mon, 9 Apr 2012 23:54:02 -0700 (PDT)
\r
18 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227])
\r
19 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 987B7431FAE
\r
22 for <notmuch@notmuchmail.org>; Mon, 9 Apr 2012 23:54:02 -0700 (PDT)
\r
23 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237])
\r
24 by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with
\r
25 ESMTP id q3A6rwXE015063
\r
26 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
\r
27 Tue, 10 Apr 2012 06:54:01 GMT
\r
28 Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158])
\r
29 by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
\r
31 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
\r
32 Tue, 10 Apr 2012 06:53:57 GMT
\r
33 Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71])
\r
34 by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
\r
35 q3A6rt7P003195; Tue, 10 Apr 2012 01:53:55 -0500
\r
36 Received: from pub.czech.sun.com (/10.163.20.32)
\r
37 by default (Oracle Beehive Gateway v4.0)
\r
38 with ESMTP ; Mon, 09 Apr 2012 23:53:54 -0700
\r
39 Date: Tue, 10 Apr 2012 08:53:24 +0200
\r
40 From: Vladimir Marek <Vladimir.Marek@Oracle.COM>
\r
41 To: Jani Nikula <jani@nikula.org>
\r
42 Subject: Re: [PATCH 4/4] Explicitly type void* pointers
\r
43 Message-ID: <20120410065324.GD10554@pub.czech.sun.com>
\r
44 Mail-Followup-To: Jani Nikula <jani@nikula.org>,
\r
45 Notmuch Mail <notmuch@notmuchmail.org>
\r
46 References: <1333966665-10469-1-git-send-email-Vladimir.Marek@oracle.com>
\r
47 <1333966665-10469-5-git-send-email-Vladimir.Marek@oracle.com>
\r
48 <CAB+hUn_QyMAfC1-Dr23T63ObX=cwuBOzcyCi=61w0MtGRMyt2w@mail.gmail.com>
\r
49 <20120409181543.GC10554@pub.czech.sun.com>
\r
50 <87mx6ka8y1.fsf@nikula.org>
\r
52 Content-Type: text/plain; charset=utf-8
\r
53 Content-Disposition: inline
\r
54 In-Reply-To: <87mx6ka8y1.fsf@nikula.org>
\r
55 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
56 X-Source-IP: acsinet21.oracle.com [141.146.126.237]
\r
57 X-Auth-Type: Internal IP
\r
58 X-CT-RefId: str=0001.0A090202.4F83D909.0069,ss=1,re=0.000,fgs=0
\r
59 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
60 X-BeenThere: notmuch@notmuchmail.org
\r
61 X-Mailman-Version: 2.1.13
\r
63 List-Id: "Use and development of the notmuch mail system."
\r
64 <notmuch.notmuchmail.org>
\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
68 List-Post: <mailto:notmuch@notmuchmail.org>
\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
72 X-List-Received-Date: Tue, 10 Apr 2012 06:54:03 -0000
\r
76 > I'm throwing in a third alternative below. Does it work for you? I think
\r
77 > it's both prettier and uglier than the above at the same time! ;)
\r
79 > A middle ground would be to change the callers to use
\r
80 > "notmuch_talloc_steal", and just #define notmuch_talloc_steal
\r
81 > talloc_steal if __GNUC__ >= 3.
\r
83 > One could argue upstream talloc should have this, but OTOH it's a C
\r
86 That's a nice trick, and it indeed works for me. And I like it more than
\r