1 Return-Path: <daniel@schoepe.org>
\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 0523F429E25
\r
6 for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 10:30:57 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.79 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] autolearn=disabled
\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 JGW85PZFnIng for <notmuch@notmuchmail.org>;
\r
17 Sat, 29 Oct 2011 10:30:55 -0700 (PDT)
\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com
\r
19 [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 00703431FB6
\r
22 for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 10:30:54 -0700 (PDT)
\r
23 Received: by faai28 with SMTP id i28so5022170faa.26
\r
24 for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 10:30:53 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;
\r
26 h=from:to:cc:subject:in-reply-to:references:user-agent:date
\r
27 :message-id:mime-version:content-type;
\r
28 bh=YfZkQZErrAfsUY1nDfCJf7sDjB2iTkq5OpTRqRsVPZo=;
\r
29 b=V38+6/2eqhO9yLusqZbBRcUPW6UOsItK0wNgUFQbF2ye/x9zJaYn2OGqhrrIu8cBUi
\r
30 K74PwLHNSc23RPKvwjoD7cVTONncA8zV4a439/hDNn3MX1s34GVNKiv7c4W4OkRHJR1G
\r
31 oZkoq8mdMknt1Ys2lvOwTVcyjhD8JkFSw4TDc=
\r
32 Received: by 10.223.14.140 with SMTP id g12mr15118901faa.34.1319909453611;
\r
33 Sat, 29 Oct 2011 10:30:53 -0700 (PDT)
\r
34 Received: from localhost (dslb-178-004-066-018.pools.arcor-ip.net.
\r
36 by mx.google.com with ESMTPS id c13sm25564571fai.3.2011.10.29.10.30.51
\r
37 (version=TLSv1/SSLv3 cipher=OTHER);
\r
38 Sat, 29 Oct 2011 10:30:52 -0700 (PDT)
\r
39 From: Daniel Schoepe <daniel@schoepe.org>
\r
40 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
\r
41 Subject: Re: [RFC PATCH 2/3] cli: add support for limiting the number of
\r
44 <f16c7983a8a639ea2ed1178a3190afb9620153e2.1319833617.git.jani@nikula.org>
\r
45 References: <cover.1319833617.git.jani@nikula.org>
\r
46 <f16c7983a8a639ea2ed1178a3190afb9620153e2.1319833617.git.jani@nikula.org>
\r
47 User-Agent: Notmuch/0.9+47~g3dfd481 (http://notmuchmail.org) Emacs/23.3.1
\r
48 (x86_64-pc-linux-gnu)
\r
49 Date: Sat, 29 Oct 2011 19:30:50 +0200
\r
50 Message-ID: <87mxcjk8mt.fsf@gilead.invalid>
\r
52 Content-Type: multipart/signed; boundary="=-=-=";
\r
53 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
54 Cc: amdragon@mit.edu
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Sat, 29 Oct 2011 17:30:57 -0000
\r
71 On Fri, 28 Oct 2011 23:59:30 +0300, Jani Nikula <jani@nikula.org> wrote:
\r
72 > @@ -412,6 +413,14 @@ notmuch_search_command (void *ctx, int argc, char *argv[])
\r
73 > fprintf (stderr, "Invalid value for --sort: %s\n", opt);
\r
76 > + } else if (STRNCMP_LITERAL (argv[i], "--maxitems=") == 0) {
\r
78 > + opt = argv[i] + sizeof ("--maxitems=") - 1;
\r
79 > + maxitems = strtoul(opt, &p, 10);
\r
81 p should be of type `char *', not `const char *', as it will be
\r
82 modified by strtoul. (Otherwise, gcc will produce a warning about this).
\r
88 Content-Type: application/pgp-signature
\r
90 -----BEGIN PGP SIGNATURE-----
\r
91 Version: GnuPG v1.4.11 (GNU/Linux)
\r
93 iQIcBAEBAgAGBQJOrDhKAAoJEIaTAtce+Z+JvC8P/juyuCdlTwNNXaTftnUrczcH
\r
94 1c+PHmqzHxt1EMvl6rqF92Aeb1G9XnwW4qMaQu6id3w24dA+ii0aOIDCaaNodyID
\r
95 o63bNPmtzrv+flqr9farsJ9z14Y2D5siMGmYupAQf1YBgrpOupDCkk6+IlCZdKN1
\r
96 LU4G64B5w58ofZnPSo75O9BLbW2jKCx7pH9NiC0DtcxJgs6vUR4CP7LVrVPQpA2X
\r
97 Cei0UMkwVxE2oWB9zSiLFNJaozDEHzvgXqOimFejG5ldOHvYCPVtYmfNibN5z2bE
\r
98 5jwYfJGtZ3qUD1+/aldT3hiLkmTi6efywcISqRJRKFdUxhVlv3SPvcsMG9D7M6iH
\r
99 EmKGilTabk/vzMwpWaHgxtBOS3c1DqFZDXognbGAZj7ycYK642sB1+bmeFSuL7FX
\r
100 wN/NI6+aQtxwcWkHcwF9LgFVA+fA/eE4pIQl2ZbqM23dZ4Mx8F5dQMqztMhHiEXZ
\r
101 lrpS1cfsNDuphKil5Qnfd81u6Sn6AyfKB2ZDKKfBkns8KhuhpvrqsgFRrsZ+pHTr
\r
102 NPIiM1rsMhkEWINo5YcQzT7pi/xJ57oUPYdSeXJf/u5l8Ag8Hm1XuqNXGq+OMoBR
\r
103 78OLEefR/EIF1A0zZ1KpU/k6sQ6JeApN1wSUHLul1cPfhKO8bZcMWFCd8aLof6Bt
\r
104 2NxBUVodbEYAFjCL8t7K
\r
106 -----END PGP SIGNATURE-----
\r