summaryrefslogtreecommitdiff
path: root/source/l/glibc/patches/glibc.b0f6679bcd738ea244a14acd879d974901e56c8e.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/glibc/patches/glibc.b0f6679bcd738ea244a14acd879d974901e56c8e.patch')
-rw-r--r--source/l/glibc/patches/glibc.b0f6679bcd738ea244a14acd879d974901e56c8e.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/l/glibc/patches/glibc.b0f6679bcd738ea244a14acd879d974901e56c8e.patch b/source/l/glibc/patches/glibc.b0f6679bcd738ea244a14acd879d974901e56c8e.patch
new file mode 100644
index 00000000..24c22a39
--- /dev/null
+++ b/source/l/glibc/patches/glibc.b0f6679bcd738ea244a14acd879d974901e56c8e.patch
@@ -0,0 +1,28 @@
+From b0f6679bcd738ea244a14acd879d974901e56c8e Mon Sep 17 00:00:00 2001
+From: Florian Weimer <fweimer@redhat.com>
+Date: Thu, 1 Aug 2019 14:06:24 +0200
+Subject: [PATCH] malloc: Remove unwanted leading whitespace in malloc_info [BZ
+ #24867]
+
+It was introduced in commit 6c8dbf00f536d78b1937b5af6f57be47fd376344
+("Reformat malloc to gnu style.").
+
+Reviewed-by: Carlos O'Donell <carlos@redhat.com>
+
+diff --git a/malloc/malloc.c b/malloc/malloc.c
+index 00ce48c..343d89f 100644
+--- a/malloc/malloc.c
++++ b/malloc/malloc.c
+@@ -5491,7 +5491,7 @@ __malloc_info (int options, FILE *fp)
+
+ for (size_t i = 0; i < nsizes; ++i)
+ if (sizes[i].count != 0 && i != NFASTBINS)
+- fprintf (fp, " \
++ fprintf (fp, "\
+ <size from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
+ sizes[i].from, sizes[i].to, sizes[i].total, sizes[i].count);
+
+--
+2.9.3
+
+