On Tue, Nov 29 2016, David Bremner wrote:
> This incorporates Tomi's patch of
>
> id:1480367228-22183-1-git-send-email-tomi.oll...@iki.fi
>
> verbatim, to sort out conflicts.
>
> It fixes the issues I alread sent mail about, and puts back the --keep
> tests for various error codes.
>
> The
On Sun, Dec 04 2016, Ioan-Adrian Ratiu wrote:
> Config files are currently read using glib's g_key_file_load_from_file
> function which is very inconvenient because it's limited by design to read
> only from "regular data files" in a filesystem. Because of this limitation
> notmuch can't read con
From: Jani Nikula
Simplify and fix the coding style while at it.
---
notmuch-config.c | 65 ++--
1 file changed, 35 insertions(+), 30 deletions(-)
diff --git a/notmuch-config.c b/notmuch-config.c
index e5d42a0..bd52790 100644
--- a/notmuch-con
Config files are currently read using glib's g_key_file_load_from_file
function which is very inconvenient because it's limited by design to read
only from "regular data files" in a filesystem. Because of this limitation
notmuch can't read configs from pipes, fifos, sockets, stdin, etc. Not even
"n
Changes since v2 (based on Tomi's feedback):
* Rewrote config reading loop to use fread instead of fgets (behaves
the same but the code looks much better now).
Ioan-Adrian Ratiu (1):
notmuch-config: replace config reading function
Jani Nikula (1):
cli: abstract config file reading to
On Sun, Nov 06 2016, Ioan-Adrian Ratiu wrote:
> Config files are currently read using glib's g_key_file_load_from_file
> function which is very inconvenient because it's limited by design to read
> only from "regular data files" in a filesystem. Because of this limitation
> notmuch can't read con