[Pkg-mutt-maintainers] Bug#757141: mutt: $date_format + %D in $folder_format = poo
Ian Zimmerman
itz at buug.org
Fri Aug 26 05:06:16 UTC 2016
On 2016-08-24 06:20, Antonio Radici wrote:
> Do you have a test mbox where this happens? If that's the case, can
> you attach it?
> Also, can you include your mutt config? just to check that you set
> date_format only in the index_format and not anywhere else (as it is
> not supposed to be used outside that field)
Hi, sadly I no longer run debian on my workstations (having been
assigned to the proverbial dustbin of history [1] by the systemd wars),
so I cannot report on the debian breed of mutt.
However. I noticed there was still a problem, even if less severe, with
mutt-1.5.24 on gentoo, which I now run. It turned out it's just the
insufficient fixed length of the field into which the date is formatted:
diff -r 08e81162482f browser.c
--- a/browser.c Sun Aug 30 10:26:17 2015 -0700
+++ b/browser.c Thu Aug 25 21:40:21 2016 -0700
@@ -147,7 +147,7 @@
unsigned long data, format_flag flags)
{
char fn[SHORT_STRING], tmp[SHORT_STRING], permission[11];
- char date[16], *t_fmt;
+ char date[32], *t_fmt;
time_t tnow;
FOLDER *folder = (FOLDER *) data;
struct passwd *pw;
Of course this is just an ugly hack that will break when we switch to
the new revolutionary calendar with 30 char long month names :) But I
hope it helps nonetheless.
[1]
http://dilbert.com/strip/2010-12-11
--
Please *no* private Cc: on mailing lists and newsgroups
Why does the arrow on Hillary signs point to the right?
More information about the Pkg-mutt-maintainers
mailing list