[mutt] 01/01: upstream/757141-date-format-length.patch: allow more space for date_format (Closes: 757141).

Antonio Radici antonio at moszumanska.debian.org
Sun Sep 4 20:12:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

antonio pushed a commit to branch master
in repository mutt.

commit b3100661058d7edf18de5a0ed12e191a3c752f5e
Author: Antonio Radici <antonio at debian.org>
Date:   Sun Sep 4 21:12:02 2016 +0100

    upstream/757141-date-format-length.patch: allow more space for date_format (Closes: 757141).
---
 debian/changelog                                   |  2 ++
 debian/patches/series                              |  1 +
 .../upstream/757141-date-format-length.patch       | 26 ++++++++++++++++++++++
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 782078c..59d715f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ mutt (1.7.0-2) UNRELEASED; urgency=medium
       remove the message-id of postponed emails (Closes: 833192).
     + upstream/819196-disable-X-in-message-scoring.patch: to disable ~X in
       message scoring, as upstream requested (Closes: 819196).
+    + upstream/757141-date-format-length.patch: allow more space for date_format
+      (Closes: 757141).
 
  -- Antonio Radici <antonio at debian.org>  Mon, 29 Aug 2016 21:27:08 +0100
 
diff --git a/debian/patches/series b/debian/patches/series
index 08be30c..dd69a57 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -21,3 +21,4 @@ upstream/749483-conststrings.patch
 upstream/569038-interrupt-socket-read-write.patch
 upstream/833192-preserve-messageid-for-postponed-emails.patch
 upstream/819196-disable-X-in-message-scoring.patch
+upstream/757141-date-format-length.patch
diff --git a/debian/patches/upstream/757141-date-format-length.patch b/debian/patches/upstream/757141-date-format-length.patch
new file mode 100644
index 0000000..1d426f0
--- /dev/null
+++ b/debian/patches/upstream/757141-date-format-length.patch
@@ -0,0 +1,26 @@
+# HG changeset patch
+# User Kevin McCarthy <kevin at 8t8.us>
+# Date 1472858437 25200
+#      Fri Sep 02 16:20:37 2016 -0700
+# Branch stable
+# Node ID eef1e8abc46f5bb7d26e2ab04e2c22047b21bc93
+# Parent  328e1a32034b7b76489fa05846681b66e0428de8
+Increase date buffer size for $folder_format.  (closes #3863)
+
+The buffer size of 16 was sufficient to hold the %d format, but not
+for using %D.  Change to use a SHORT_STRING.
+
+Thanks to Ian Zimmerman for the original patch, and to Antonio Radici
+for forwarding it on to us.
+
+--- a/browser.c
++++ b/browser.c
+@@ -218,7 +218,7 @@
+ 		   unsigned long data, format_flag flags)
+ {
+   char fn[SHORT_STRING], tmp[SHORT_STRING], permission[11];
+-  char date[16], *t_fmt;
++  char date[SHORT_STRING], *t_fmt;
+   time_t tnow;
+   FOLDER *folder = (FOLDER *) data;
+   struct passwd *pw;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mutt/mutt.git



More information about the pkg-mutt-commits mailing list