summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-04-24 23:55:30 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-04-24 23:55:30 +0300
commitd00c27dc1de008ac2e4e5b6dba291c6552ff5011 (patch)
tree3ae3c5920bab65d7c4261aa57d156751b866e8a6
parentd94ac17a5bb066e576de4225d59c5022e3a7f7b5 (diff)
downloadmailutils-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--NEWS2
-rw-r--r--libmailutils/diag/diag.c2
-rw-r--r--mu/libexec/ldflags.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 4f45e8e1d..953bf2a28 100644
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,7 @@ Version 3.6.90 (git)
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.
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
@@ -119,7 +119,7 @@ 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);
}
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
@@ -38,6 +38,9 @@ struct lib_descr {
int flags;
} lib_descr[] = {
{ "mbox", "-lmu_mbox", 0 },
+#ifdef ENABLE_DOTMAIL
+ { "dotmail", "-lmu_dotmail", 0 },
+#endif
#ifdef ENABLE_MH
{ "mh", "-lmu_mh", 0 },
#endif

Return to:

Send suggestions and report system problems to the System administrator.