diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-04-24 23:55:30 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-04-24 23:55:30 +0300 |
commit | d00c27dc1de008ac2e4e5b6dba291c6552ff5011 (patch) | |
tree | 3ae3c5920bab65d7c4261aa57d156751b866e8a6 | |
parent | d94ac17a5bb066e576de4225d59c5022e3a7f7b5 (diff) | |
download | mailutils-d00c27dc1de008ac2e4e5b6dba291c6552ff5011.tar.gz mailutils-d00c27dc1de008ac2e4e5b6dba291c6552ff5011.tar.bz2 |
Bugfixes.
* libmailutils/diag/diag.c (mu_diag_vprintf): Fix debug level formatting.
It missed 's' after the escape character.
* mu/libexec/ldflags.c (lib_descr): Add dotmail.
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | libmailutils/diag/diag.c | 2 | ||||
-rw-r--r-- | mu/libexec/ldflags.c | 3 |
3 files changed, 5 insertions, 2 deletions
@@ -2,25 +2,25 @@ GNU mailutils NEWS -- history of user-visible changes. 2019-03-06 Copyright (C) 2002-2019 Free Software Foundation, Inc. See the end of file for copying conditions. Please send mailutils bug reports to <bug-mailutils@gnu.org>. Version 3.6.90 (git) * Support for the new mailbox format - dotmail Dotmail is a replacement for traditional mbox format, proposed by Kurt Hackenberg. A dotmail mailbox is a single disk file, where messages are stored sequentially. Each message ends with a single -dot (similar to the dormat used in the SMTP DATA command). Any dot +dot (similar to the format used in the SMTP DATA command). Any dot appearing at the start of the line is doubled, to prevent it from being interpreted as end of message marker. Version 3.6 - 2019-02-23 * Rewrite mailcap (RFC1524) support * imap4d: SEARCH command ** Implemented SEARCH CHARSET diff --git a/libmailutils/diag/diag.c b/libmailutils/diag/diag.c index 7ec7c069e..050fcaf2d 100644 --- a/libmailutils/diag/diag.c +++ b/libmailutils/diag/diag.c @@ -110,25 +110,25 @@ mu_diag_at_locus_point (int level, struct mu_locus_point const *loc, va_list ap; struct mu_locus_range lr = MU_LOCUS_RANGE_INITIALIZER; lr.beg = *loc; va_start (ap, fmt); mu_vdiag_at_locus_range (level, &lr, fmt, ap); va_end (ap); } void mu_diag_vprintf (int level, const char *fmt, va_list ap) { mu_diag_init (); - mu_stream_printf (mu_strerr, "\033<%d>", level); + mu_stream_printf (mu_strerr, "\033s<%d>", level); mu_stream_vprintf (mu_strerr, fmt, ap); } void mu_diag_cont_vprintf (const char *fmt, va_list ap) { mu_diag_init (); mu_stream_vprintf (mu_strerr, fmt, ap); } void mu_diag_printf (int level, const char *fmt, ...) diff --git a/mu/libexec/ldflags.c b/mu/libexec/ldflags.c index bcfd7c03a..60a2d3bd6 100644 --- a/mu/libexec/ldflags.c +++ b/mu/libexec/ldflags.c @@ -29,24 +29,27 @@ static char ldflags_args_doc[] = N_("KEYWORD [KEYWORD...]"); #else # define NEEDAUTH NULL #endif #define NOTALL 1 struct lib_descr { char *name; char *libname; int weight; int flags; } lib_descr[] = { { "mbox", "-lmu_mbox", 0 }, +#ifdef ENABLE_DOTMAIL + { "dotmail", "-lmu_dotmail", 0 }, +#endif #ifdef ENABLE_MH { "mh", "-lmu_mh", 0 }, #endif #ifdef ENABLE_MAILDIR { "maildir", "-lmu_maildir", 0 }, #endif #ifdef ENABLE_IMAP { "imap", "-lmu_imap", 0 }, { "imap", NEEDAUTH, 2 }, #endif #ifdef ENABLE_POP { "pop", "-lmu_pop", 0 }, |