diff --git a/glibc.spec b/glibc.spec index c7604738889b0456bb935e5ea2dd73aa2182a94b..99be2420297d28aed367ae502a3995f080bc051f 100644 --- a/glibc.spec +++ b/glibc.spec @@ -62,7 +62,7 @@ ############################################################################## Name: glibc Version: 2.28 -Release: 115 +Release: 116 Summary: The GNU libc libraries License: %{all_license} URL: http://www.gnu.org/software/glibc/ @@ -183,6 +183,7 @@ Patch96: benchtests-Set-float-type-on-threshold-argument.patch Patch97: stdio-Fix-aliasing-violation.patch Patch98: use_uintptr_t_for_address_diagnostic.patch Patch99: fix-global_max_fast-based-on-MIN_CHUNK_SIZE.patch +Patch100: malloc_remove_unwanted_leading_whitespace_in_malloc_info.patch Provides: ldconfig rtld(GNU_HASH) bundled(gnulib) @@ -1302,6 +1303,9 @@ fi %endif %changelog +* Wed Oct 22 2025 panzhe - 2.28-116 +- malloc: Remove unwanted leading whitespace in malloc_info + * Mon Oct 20 2025 panzhe - 2.28-115 - malloc: fix global_max_fast based on MIN_CHUNK_SIZE diff --git a/malloc_remove_unwanted_leading_whitespace_in_malloc_info.patch b/malloc_remove_unwanted_leading_whitespace_in_malloc_info.patch new file mode 100644 index 0000000000000000000000000000000000000000..d303441099ad8ef54c3f3ee24c37c7a0c3c33571 --- /dev/null +++ b/malloc_remove_unwanted_leading_whitespace_in_malloc_info.patch @@ -0,0 +1,30 @@ +From b0f6679bcd738ea244a14acd879d974901e56c8e Mon Sep 17 00:00:00 2001 +From: Florian Weimer +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 +--- + malloc/malloc.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletion(-) + +diff --git a/malloc/malloc.c b/malloc/malloc.c +index 00ce48cf58..343d89f489 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, "\ + \n", + sizes[i].from, sizes[i].to, sizes[i].total, sizes[i].count); + +-- +2.25.1 +