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)
11Dotmail is a replacement for traditional mbox format, proposed by 11Dotmail is a replacement for traditional mbox format, proposed by
12Kurt Hackenberg. A dotmail mailbox is a single disk file, where 12Kurt Hackenberg. A dotmail mailbox is a single disk file, where
13messages are stored sequentially. Each message ends with a single 13messages are stored sequentially. Each message ends with a single
14dot (similar to the dormat used in the SMTP DATA command). Any dot 14dot (similar to the format used in the SMTP DATA command). Any dot
15appearing at the start of the line is doubled, to prevent it from 15appearing at the start of the line is doubled, to prevent it from
16being interpreted as end of message marker. 16being interpreted as end of message marker.
17 17
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
119mu_diag_vprintf (int level, const char *fmt, va_list ap) 119mu_diag_vprintf (int level, const char *fmt, va_list ap)
120{ 120{
121 mu_diag_init (); 121 mu_diag_init ();
122 mu_stream_printf (mu_strerr, "\033<%d>", level); 122 mu_stream_printf (mu_strerr, "\033s<%d>", level);
123 mu_stream_vprintf (mu_strerr, fmt, ap); 123 mu_stream_vprintf (mu_strerr, fmt, ap);
124} 124}
125 125
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 {
38 int flags; 38 int flags;
39} lib_descr[] = { 39} lib_descr[] = {
40 { "mbox", "-lmu_mbox", 0 }, 40 { "mbox", "-lmu_mbox", 0 },
41#ifdef ENABLE_DOTMAIL
42 { "dotmail", "-lmu_dotmail", 0 },
43#endif
41#ifdef ENABLE_MH 44#ifdef ENABLE_MH
42 { "mh", "-lmu_mh", 0 }, 45 { "mh", "-lmu_mh", 0 },
43#endif 46#endif

Return to:

Send suggestions and report system problems to the System administrator.