+2009-04-29 11:53 +0200 Rocco Rutte <pdmef@gmx.net> (366d992abcb4)
+
+ * mailbox.h, mh.c, mx.c: Move Maildir/MH folder detection from mx.c to
+ mh.c
+
+2009-04-28 15:12 +0200 Rocco Rutte <pdmef@gmx.net> (4d9685be5987)
+
+ * sendlib.c: Fold References: header so we never run into line length
+ problems
+
+2009-04-28 14:27 +0200 Rocco Rutte <pdmef@gmx.net> (027edb15e455)
+
+ * ChangeLog, headers.c: Fix comment typo
+
2009-04-28 14:18 +0200 Bertram Felgenhauer <int-e@gmx.de> (6b20a3545f03)
* doc/manual.xml.head, headers.c: Drop References header if In-Reply-
if ((! S_ISREG (s.st_mode)) && (! S_ISDIR (s.st_mode)) &&
(! S_ISLNK (s.st_mode)))
continue;
+
+ if (mx_is_maildir (tmp->path))
+ {
+ struct stat st2;
+ char md[_POSIX_PATH_MAX];
+
+ snprintf (md, sizeof (md), "%s/new", tmp->path);
+ if (stat (md, &s) < 0)
+ s.st_mtime = 0;
+ snprintf (md, sizeof (md), "%s/cur", tmp->path);
+ if (stat (md, &st2) < 0)
+ st2.st_mtime = 0;
+ if (st2.st_mtime > s.st_mtime)
+ memcpy (&s, &st2, sizeof (struct stat));
+ }
strfcpy (buffer, NONULL(tmp->path), sizeof (buffer));
mutt_pretty_mailbox (buffer, sizeof (buffer));