Changeset View
Changeset View
Standalone View
Standalone View
mail/mutt/files/extra-patch-maildir-mtime-nntp
--- PATCHES.orig 2017-04-09 21:00:46 UTC | --- PATCHES.orig 2017-09-10 21:57:09 UTC | ||||
+++ PATCHES | +++ PATCHES | ||||
@@ -0,0 +1 @@ | @@ -0,0 +1 @@ | ||||
+patch-1.5.7.ust.maildir-mtime.2 | +patch-1.5.7.ust.maildir-mtime.2 | ||||
--- browser.c.orig 2017-04-09 20:49:44 UTC | --- browser.c.orig 2017-09-10 21:56:59 UTC | ||||
+++ browser.c | +++ browser.c | ||||
@@ -35,6 +35,7 @@ | @@ -35,6 +35,7 @@ | ||||
#ifdef USE_NNTP | #ifdef USE_NNTP | ||||
#include "nntp.h" | #include "nntp.h" | ||||
#endif | #endif | ||||
+#include "mx.h" | +#include "mx.h" | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
Show All 24 Lines | @@ -634,6 +650,7 @@ static int examine_directory (MUTTMENU * | ||||
tmp = Incoming; | tmp = Incoming; | ||||
while (tmp && mutt_strcmp (buffer, tmp->path)) | while (tmp && mutt_strcmp (buffer, tmp->path)) | ||||
tmp = tmp->next; | tmp = tmp->next; | ||||
+ check_maildir_times (tmp, &s); | + check_maildir_times (tmp, &s); | ||||
if (tmp && Context && | if (tmp && Context && | ||||
!mutt_strcmp (tmp->realpath, Context->realpath)) | !mutt_strcmp (tmp->realpath, Context->realpath)) | ||||
{ | { | ||||
@@ -737,6 +754,7 @@ static int examine_mailboxes (MUTTMENU * | @@ -737,6 +754,7 @@ static int examine_mailboxes (MUTTMENU * | ||||
strfcpy (buffer, NONULL(tmp->path), sizeof (buffer)); | s.st_mtime = st2.st_mtime; | ||||
mutt_pretty_mailbox (buffer, sizeof (buffer)); | } | ||||
+ check_maildir_times (tmp, &s); | + check_maildir_times (tmp, &s); | ||||
add_folder (menu, state, buffer, &s, tmp, NULL); | add_folder (menu, state, buffer, &s, tmp, NULL); | ||||
} | } | ||||
while ((tmp = tmp->next)); | while ((tmp = tmp->next)); |