* [gentoo-commits] gentoo-x86 commit in dev-libs/gmime/files: gmime-2.6.19-memory-leak.patch gmime-2.6.19-extra-spaces.patch gmime-2.6.18-code-cleanup.patch gmime-2.6.18-close-reference.patch gmime-2.6.18-mutexes-earlier.patch gmime-2.6.18-custom-headers.patch
@ 2014-01-01 21:06 Pacho Ramos (pacho)
0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2014-01-01 21:06 UTC (permalink / raw
To: gentoo-commits
pacho 14/01/01 21:06:25
Added: gmime-2.6.19-memory-leak.patch
gmime-2.6.19-extra-spaces.patch
Removed: gmime-2.6.18-code-cleanup.patch
gmime-2.6.18-close-reference.patch
gmime-2.6.18-mutexes-earlier.patch
gmime-2.6.18-custom-headers.patch
Log:
Apply upstream patches fixing a memory leak and the addition of an extra space in References (#496692 by Amadeusz Zolnowski), drop old. Gmime is only being maintained by us for years.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Revision Changes Path
1.1 dev-libs/gmime/files/gmime-2.6.19-memory-leak.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/files/gmime-2.6.19-memory-leak.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/files/gmime-2.6.19-memory-leak.patch?rev=1.1&content-type=text/plain
Index: gmime-2.6.19-memory-leak.patch
===================================================================
From 7f462228f179c04ad7dfd1a43de39feaf8dfb607 Mon Sep 17 00:00:00 2001
From: Jeffrey Stedfast <fejj@gnome.org>
Date: Sun, 29 Dec 2013 22:38:13 +0000
Subject: Fixed a memory leak in g_mime_object_set_content_disposition_parameter
2013-12-29 Jeffrey Stedfast <fejj@gnome.org>
* gmime/gmime-object.c
(g_mime_object_set_content_disposition_parameter): Unref the
disposition. Thanks to Mario Theodoridis for this patch.
---
diff --git a/gmime/gmime-object.c b/gmime/gmime-object.c
index 6d326f2..790e41e 100644
--- a/gmime/gmime-object.c
+++ b/gmime/gmime-object.c
@@ -647,6 +647,7 @@ g_mime_object_set_content_disposition_parameter (GMimeObject *object, const char
if (!object->disposition) {
disposition = g_mime_content_disposition_new ();
_g_mime_object_set_content_disposition (object, disposition);
+ g_object_unref (disposition);
}
g_mime_content_disposition_set_parameter (object->disposition, name, value);
--
cgit v0.9.2
1.1 dev-libs/gmime/files/gmime-2.6.19-extra-spaces.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/files/gmime-2.6.19-extra-spaces.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/files/gmime-2.6.19-extra-spaces.patch?rev=1.1&content-type=text/plain
Index: gmime-2.6.19-extra-spaces.patch
===================================================================
From cc96162a47bd88ba76cece5043a93b438e48c2c7 Mon Sep 17 00:00:00 2001
From: Jeffrey Stedfast <fejj@gnome.org>
Date: Sat, 02 Nov 2013 20:08:52 +0000
Subject: Don't write out extra spaces in the References header
2013-11-02 Jeffrey Stedfast <fejj@gnome.org>
* gmime/gmime-message.c (write_references): Don't write out 2
spaces between the ':' and the first message-id. Fixes bug
#711305.
---
diff --git a/gmime/gmime-message.c b/gmime/gmime-message.c
index b6243fd..3b00ee1 100644
--- a/gmime/gmime-message.c
+++ b/gmime/gmime-message.c
@@ -636,7 +636,7 @@ write_references (GMimeStream *stream, const char *name, const char *value)
it seems to break a lot of clients (and servers) */
references = g_mime_references_decode (value);
folded = g_string_new (name);
- g_string_append_len (folded, ": ", 2);
+ g_string_append_c (folded, ':');
len = folded->len;
reference = references;
--
cgit v0.9.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-01 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-01 21:06 [gentoo-commits] gentoo-x86 commit in dev-libs/gmime/files: gmime-2.6.19-memory-leak.patch gmime-2.6.19-extra-spaces.patch gmime-2.6.18-code-cleanup.patch gmime-2.6.18-close-reference.patch gmime-2.6.18-mutexes-earlier.patch gmime-2.6.18-custom-headers.patch Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox