From: Florian Weimer Date: Thu, 1 Aug 2019 14:48:12 +0000 (+0200) Subject: malloc: Remove unwanted leading whitespace in malloc_info [BZ #24867] X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be9a328c93834648e0bec106a1f86357d1a8c7e1;p=thirdparty%2Fglibc.git 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 (cherry picked from commit b0f6679bcd738ea244a14acd879d974901e56c8e) --- diff --git a/ChangeLog b/ChangeLog index cdb9e148817..a2bf94f6e93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-08-01 Florian Weimer + + [BZ #24867] + * malloc/malloc.c (__malloc_info): Remove unwanted leading + whitespace. + 2019-08-01 Carlos O'Donell * version.h (RELEASE): Set to "stable". diff --git a/NEWS b/NEWS index ee9ed4de5a3..2a57721d72d 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,13 @@ See the end for copying conditions. Please send GNU C library bug reports via using `glibc' in the "product" field. + +Version 2.30.1 + +The following bugs are resolved with this release: + + [24867] malloc: Remove unwanted leading whitespace in malloc_info + Version 2.30 diff --git a/malloc/malloc.c b/malloc/malloc.c index 00ce48cf587..343d89f4893 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);