[Pkg-mutt-maintainers] Bug#757141: mutt: $date_format + %D in $folder_format = poo

Antonio Radici antonio at debian.org
Fri Aug 26 05:27:02 UTC 2016


tag 757141 +patch pending upstream
thanks

On Thu, Aug 25, 2016 at 10:06:16PM -0700, Ian Zimmerman wrote:
> On 2016-08-24 06:20, Antonio Radici wrote:
> 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;
> 
> 

Hi Ian,
thanks for the patch, it is very good to know and the investigation was really
useful, we will add it to the Debian release and make sure that it is added
upstream so that, even if you use Gentoo, you will be able to benefit from it :)



More information about the Pkg-mutt-maintainers mailing list