1 Return-Path: <too@guru-group.fi>
\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 83703431FD9
\r
6 for <notmuch@notmuchmail.org>; Sun, 26 May 2013 01:46:10 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 6v24niWmhWd8 for <notmuch@notmuchmail.org>;
\r
16 Sun, 26 May 2013 01:46:01 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 76F69431FC9
\r
19 for <notmuch@notmuchmail.org>; Sun, 26 May 2013 01:46:01 -0700 (PDT)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 2363110014D; Sun, 26 May 2013 11:45:57 +0300 (EEST)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: v2 of --stderr=FILE patches
\r
25 Date: Sun, 26 May 2013 11:45:50 +0300
\r
26 Message-Id: <1369557954-13439-1-git-send-email-tomi.ollila@iki.fi>
\r
27 X-Mailer: git-send-email 1.8.0
\r
28 Cc: tomi.ollila@iki.fi
\r
29 X-BeenThere: notmuch@notmuchmail.org
\r
30 X-Mailman-Version: 2.1.13
\r
32 List-Id: "Use and development of the notmuch mail system."
\r
33 <notmuch.notmuchmail.org>
\r
34 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
35 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
36 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
37 List-Post: <mailto:notmuch@notmuchmail.org>
\r
38 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
39 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
41 X-List-Received-Date: Sun, 26 May 2013 08:46:10 -0000
\r
43 This is version 2 of id:1369332362-4719-1-git-send-email-tomi.ollila@iki.fi
\r
46 man/man1/notmuch.1 | 7 +++++++
\r
47 notmuch-client.h | 1 +
\r
48 notmuch.c | 32 ++++++++++++++++++++++++++++++++
\r
49 test/help-test | 9 +++++++++
\r
50 5 files changed, 55 insertions(+)
\r
52 diffdiff of the changes since v1:
\r
54 diff --git a/notmuch.c b/notmuch.c
\r
55 index 77b5282..654a568 100644
\r
58 @@ -251,7 +251,8 @@ notmuch_command (notmuch_config_t *config,
\r
62 -static int redirect_stderr (const char * stderr_file)
\r
64 +redirect_stderr (const char * stderr_file)
\r
66 if (strcmp (stderr_file, "-") == 0) {
\r
67 if (dup2 (STDOUT_FILENO, STDERR_FILENO) < 0) {
\r
68 diff --git a/test/help-test b/test/help-test
\r
69 index 8b77931..bd0111c 100755
\r
70 --- a/test/help-test
\r
71 +++ b/test/help-test
\r
72 @@ -15,7 +15,6 @@ test_expect_equal "$(cat stderr)" "
\r
73 Sorry, % is not a known command. There's not much I can do to help."
\r
75 test_begin_subtest "notmuch --stderr=- help %"
\r
76 -notmuch --stderr=stderr help %
\r
77 test_expect_equal "$(notmuch --stderr=- help %)" "
\r
78 Sorry, % is not a known command. There's not much I can do to help."
\r