View | Details | Raw Unified | Return to bug 239864
Collapse All | Expand All

(-)b/mail/mutt/files/extra-patch-maildir-mtime-nntp (-9 / +8 lines)
Lines 1-8 Link Here
1
--- PATCHES.orig	2017-09-10 21:57:09 UTC
1
--- PATCHES.orig	2019-08-15 02:24:43 UTC
2
+++ PATCHES
2
+++ PATCHES
3
@@ -0,0 +1 @@
3
@@ -0,0 +1 @@
4
+patch-1.5.7.ust.maildir-mtime.2
4
+patch-1.5.7.ust.maildir-mtime.2
5
--- browser.c.orig	2017-09-10 21:56:59 UTC
5
--- browser.c.orig	2019-08-15 02:24:39 UTC
6
+++ browser.c
6
+++ browser.c
7
@@ -35,6 +35,7 @@
7
@@ -35,6 +35,7 @@
8
 #ifdef USE_NNTP
8
 #ifdef USE_NNTP
Lines 12-18 Link Here
12
 
12
 
13
 #include <stdlib.h>
13
 #include <stdlib.h>
14
 #include <dirent.h>
14
 #include <dirent.h>
15
@@ -545,6 +546,21 @@ static void init_state (struct browser_s
15
@@ -592,6 +593,21 @@ static void init_state (struct browser_state *state, M
16
     menu->data = state->entry;
16
     menu->data = state->entry;
17
 }
17
 }
18
 
18
 
Lines 33-52 Link Here
33
+
33
+
34
 /* get list of all files/newsgroups with mask */
34
 /* get list of all files/newsgroups with mask */
35
 static int examine_directory (MUTTMENU *menu, struct browser_state *state,
35
 static int examine_directory (MUTTMENU *menu, struct browser_state *state,
36
 			      char *d, const char *prefix)
36
 			      const char *d, const char *prefix)
37
@@ -634,6 +650,7 @@ static int examine_directory (MUTTMENU *
37
@@ -684,6 +700,7 @@ static int examine_directory (MUTTMENU *menu, struct b
38
     tmp = Incoming;
38
     tmp = Incoming;
39
     while (tmp && mutt_strcmp (buffer, tmp->path))
39
     while (tmp && mutt_strcmp (mutt_b2s (buffer), mutt_b2s (tmp->pathbuf)))
40
       tmp = tmp->next;
40
       tmp = tmp->next;
41
+    check_maildir_times (tmp, &s);
41
+    check_maildir_times (tmp, &s);
42
     if (tmp && Context &&
42
     if (tmp && Context &&
43
         !mutt_strcmp (tmp->realpath, Context->realpath))
43
         !mutt_strcmp (tmp->realpath, Context->realpath))
44
     {
44
     {
45
@@ -737,6 +754,7 @@ static int examine_mailboxes (MUTTMENU *
45
@@ -792,6 +809,7 @@ static int examine_mailboxes (MUTTMENU *menu, struct b
46
 	s.st_mtime = st2.st_mtime;
46
 	s.st_mtime = st2.st_mtime;
47
     }
47
     }
48
 
48
 
49
+    check_maildir_times (tmp, &s);
49
+    check_maildir_times (tmp, &s);
50
     add_folder (menu, state, buffer, &s, tmp, NULL);
50
     add_folder (menu, state, mutt_b2s (mailbox), &s, tmp, NULL);
51
   }
51
   }
52
   while ((tmp = tmp->next));
52
   while ((tmp = tmp->next));
53
- 

Return to bug 239864