unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Ioan-Adrian Ratiu <adi@adirat.com>
To: <notmuch@notmuchmail.org>, <tomi.ollila@iki.fi>
Subject: [PATCH v5 0/2] Refactor config reading to support non-regular files
Date: Thu, 8 Dec 2016 14:24:43 +0200	[thread overview]
Message-ID: <20161208122445.30918-1-adi@adirat.com> (raw)

Changes since v4: (based on Tomi's feedback):
    * Replaced strlen with config_len in the call to g_key_file_load_from_data()
    * Added a null pointer check and minor whitespace fixes before exiting
    get_config_from_file

Ioan-Adrian Ratiu (1):
  notmuch-config: replace config reading function

Jani Nikula (1):
  cli: abstract config file reading to a separate function

notmuch-config.c | 107 +++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 77 insertions(+), 30 deletions(-)

-- 
2.10.2

             reply	other threads:[~2016-12-08 12:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 12:24 Ioan-Adrian Ratiu [this message]
2016-12-08 12:24 ` [PATCH v5 1/2] cli: abstract config file reading to a separate function Ioan-Adrian Ratiu
2016-12-08 12:24 ` [PATCH v5 2/2] notmuch-config: replace config reading function Ioan-Adrian Ratiu
2016-12-10 19:13   ` Tomi Ollila

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161208122445.30918-1-adi@adirat.com \
    --to=adi@adirat.com \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).