Hi Carl,
> "Carl" == Carl Worth writes:
Carl> [1 ]
Carl> On Mon, 23 Nov 2009 08:21:50 +0200, Dirk-Jan C. Binnema wrote:
>> -#define prompt(format, ...) \
>> -do {\
>> -printf (format
On Tue, 01 Dec 2009 20:50:03 +0200, Dirk-Jan C. Binnema
wrote:
> Sure, that's the better solution, but note that my patch did not introduce the
> undefined behavior -- it was there before. I was trying a minimal patch to
> silencing the warning.
Yes, the leak was my bug.
And the warning was use
On Tue, 01 Dec 2009 20:50:03 +0200, Dirk-Jan C. Binnema wrote:
> Sure, that's the better solution, but note that my patch did not introduce the
> undefined behavior -- it was there before. I was trying a minimal patch to
> silencing the warning.
Yes, the leak was my bug.
And the warning was usef
Hi Carl,
> "Carl" == Carl Worth writes:
Carl> [1 ]
Carl> On Mon, 23 Nov 2009 08:21:50 +0200, Dirk-Jan C. Binnema
wrote:
>> -#define prompt(format, ...) \
>> -do {\
>> -printf (forma
On Mon, 23 Nov 2009 08:21:50 +0200, Dirk-Jan C. Binnema
wrote:
> -#define prompt(format, ...) \
> -do { \
> - printf (format, ##__VA_ARGS__); \
> - fflush (stdout);\
>
On Mon, 23 Nov 2009 08:21:50 +0200, Dirk-Jan C. Binnema wrote:
> -#define prompt(format, ...) \
> -do { \
> - printf (format, ##__VA_ARGS__); \
> - fflush (stdout);\
> -
---
notmuch-setup.c | 13 +++--
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/notmuch-setup.c b/notmuch-setup.c
index d06fbf8..c50f812 100644
--- a/notmuch-setup.c
+++ b/notmuch-setup.c
@@ -100,12 +100,13 @@ notmuch_setup_command (unused (void *ctx),
unsigned int