1 Return-Path: <kaz.rag@gmail.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 6951E431FD0
\r
6 for <notmuch@notmuchmail.org>; Fri, 30 Dec 2011 17:30:33 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Date"
\r
10 X-Spam-Score: -0.367
\r
12 X-Spam-Status: No, score=-0.367 tagged_above=-999 required=5
\r
13 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
14 FREEMAIL_FROM=0.001, INVALID_DATE=0.432, RCVD_IN_DNSWL_LOW=-0.7]
\r
16 Received: from olra.theworths.org ([127.0.0.1])
\r
17 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
18 with ESMTP id Tn6HxpQjo9Ls for <notmuch@notmuchmail.org>;
\r
19 Fri, 30 Dec 2011 17:30:33 -0800 (PST)
\r
20 Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com
\r
21 [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
22 (No client certificate requested)
\r
23 by olra.theworths.org (Postfix) with ESMTPS id 0C9AD431FB6
\r
24 for <notmuch@notmuchmail.org>; Fri, 30 Dec 2011 17:30:33 -0800 (PST)
\r
25 Received: by qcha6 with SMTP id a6so11060464qch.26
\r
26 for <notmuch@notmuchmail.org>; Fri, 30 Dec 2011 17:30:32 -0800 (PST)
\r
27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
28 h=content-type:mime-version:content-transfer-encoding:from:to
\r
29 :references:in-reply-to:date:message-id:subject:date;
\r
30 bh=BUg4j47+YHQI89FIfziZRly32Z97ezvoFRydmKWtNrM=;
\r
31 b=qOkmUCQ3PrnXAYNZcwvyR4LzAg6p+eDllaoFdlheUS/v96Nr0YnLgNNvrEks22Aq6f
\r
32 2zwenD/DUrRGq8f3QKFHyM+AMn7Qo0xjy4u3TgqIaqaqfhwvuVj+Roe4D/IFZXOdc/6f
\r
33 6MaQmYS5HxiTxh4QOHiU8LimLeEf1FQKv8Q7o=
\r
34 Received: by 10.229.136.83 with SMTP id q19mr15144451qct.145.1325295032376;
\r
35 Fri, 30 Dec 2011 17:30:32 -0800 (PST)
\r
36 Received: from localhost (201-1-35-143.dsl.telesp.net.br. [201.1.35.143])
\r
37 by mx.google.com with ESMTPS id el7sm75917603qab.16.2011.12.30.17.30.30
\r
38 (version=TLSv1/SSLv3 cipher=OTHER);
\r
39 Fri, 30 Dec 2011 17:30:31 -0800 (PST)
\r
40 Content-Type: text/plain; charset="utf-8"
\r
42 Content-Transfer-Encoding: quoted-printable
\r
43 From: Kazuo Teramoto <kaz.rag@gmail.com>
\r
44 To: Patrick Totzke <patricktotzke@googlemail.com>, notmuch@notmuchmail.org,
\r
45 David Bremner <david@tethera.net>
\r
46 References: <877h1e6r9d.fsf@zancas.localnet>
\r
47 <1325282290-29565-1-git-send-email-kaz.rag@gmail.com>
\r
48 <20111231011647.24112.70437@brick.lan>
\r
49 In-Reply-To: <20111231011647.24112.70437@brick.lan>
\r
50 Date: Sat, 31 Dec 2011 01:30:28 -0000
\r
51 Message-ID: <20111231013028.14545.79903@sophie>
\r
52 Subject: Re: [PATCH 0/2] Multiples calls of g_mime_init
\r
53 Date: Fri, 30 Dec 2011 23:30:28 -0200
\r
54 X-BeenThere: notmuch@notmuchmail.org
\r
55 X-Mailman-Version: 2.1.13
\r
57 List-Id: "Use and development of the notmuch mail system."
\r
58 <notmuch.notmuchmail.org>
\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
62 List-Post: <mailto:notmuch@notmuchmail.org>
\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
66 X-List-Received-Date: Sat, 31 Dec 2011 01:30:33 -0000
\r
68 On 2011-12-30T23:16:47, Patrick Totzke wrote:
\r
70 >It seeminly doesn't break things either and I'm all in favour of doing
\r
71 >things right=E2=84=A2.
\r
73 And talking about doing things right, we probably need to call
\r
74 g_mime_shutdown() too, one for every time we call g_mime_init(). I will
\r
75 send a patch after I do some more tests.
\r
77 >On a related note: It also doesn't fix the recent segfaults of the bindings
\r
78 >that occur when you try to write to a locked database.
\r
79 >cf "id:4eddf2b1.4288980a.0b74.5557@mx.google.com"
\r
82 This still hit me. If I remember right when I did a test what is
\r
83 happening is that the binding is trying to close the db, so we need a
\r
84 check if the db is opened before trying to close it.
\r