Re: [PATCH v2 07/11] lib: use the compaction backup path provided by the caller
[notmuch-archives.git] / b2 / 32f9dfabec27439b3b4583553303ee34c92b77
1 Return-Path: <david@tethera.net>\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 158AB429E27\r
6         for <notmuch@notmuchmail.org>; Tue,  5 Nov 2013 02:55:01 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id rDaEeungo7dR for <notmuch@notmuchmail.org>;\r
16         Tue,  5 Nov 2013 02:54:53 -0800 (PST)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 5F5F8431FBF\r
21         for <notmuch@notmuchmail.org>; Tue,  5 Nov 2013 02:54:53 -0800 (PST)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1VdeHY-0000nW-Bm; Tue, 05 Nov 2013 06:54:48 -0400\r
25 Received: (nullmailer pid 10563 invoked by uid 1000); Tue, 05 Nov 2013\r
26         10:54:44 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
29 Subject: Re: [PATCH v2 07/11] lib: use the compaction backup path provided by\r
30         the caller\r
31 In-Reply-To:\r
32  <6e8053834c8ab856c2ebab881069f18b2badcf71.1383481295.git.jani@nikula.org>\r
33 References: <cover.1383481295.git.jani@nikula.org>\r
34         <6e8053834c8ab856c2ebab881069f18b2badcf71.1383481295.git.jani@nikula.org>\r
35 User-Agent: Notmuch/0.16+111~ga7964c8 (http://notmuchmail.org) Emacs/24.3.1\r
36         (x86_64-pc-linux-gnu)\r
37 Date: Tue, 05 Nov 2013 06:54:44 -0400\r
38 Message-ID: <87ob5zqft7.fsf@zancas.localnet>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Tue, 05 Nov 2013 10:55:01 -0000\r
54 \r
55 Jani Nikula <jani@nikula.org> writes:\r
56 \r
57 > +    backup_path = talloc_asprintf (config, "%s/xapian.old", path);\r
58 > +    if (! backup_path)\r
59 > +     return 1;\r
60 > +\r
61 \r
62 Is it intentional that no message is printed here? A random glance at\r
63 notmuch-search.c suggests we usually print a message on OOM in the CLI.\r
64 \r
65 d\r