diff options
author | Carlos O'Donell <carlos@redhat.com> | 2023-01-19 12:50:20 +0100 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2023-02-06 10:20:39 -0500 |
commit | c980549cc6a1c03c23cc2fe3e7b0fe626a0364b0 (patch) | |
tree | c6948d04b7c49bb4fe6d5d576764f3bc9f9874fb /stdio-common/Makefile | |
parent | a1dcc64c9b6e54ce1aabcd10785f43bf2b445ee4 (diff) | |
download | glibc-c980549cc6a1c03c23cc2fe3e7b0fe626a0364b0.zip glibc-c980549cc6a1c03c23cc2fe3e7b0fe626a0364b0.tar.gz glibc-c980549cc6a1c03c23cc2fe3e7b0fe626a0364b0.tar.bz2 |
Account for grouping in printf width (bug 30068)
This is a partial fix for mishandling of grouping when formatting
integers. It properly computes the width in the presence of grouping
characters when the width is larger than the number of significant
digits. The precision related issue is documented in bug 23432.
Co-authored-by: Andreas Schwab <schwab@suse.de>
Diffstat (limited to 'stdio-common/Makefile')
-rw-r--r-- | stdio-common/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile index 34fdd6d..652d9e5 100644 --- a/stdio-common/Makefile +++ b/stdio-common/Makefile @@ -196,6 +196,7 @@ tests := \ tst-gets \ tst-grouping \ tst-grouping2 \ + tst-grouping3 \ tst-long-dbl-fphex \ tst-memstream-string \ tst-obprintf \ @@ -340,6 +341,7 @@ $(objpfx)tst-sscanf.out: $(gen-locales) $(objpfx)tst-swprintf.out: $(gen-locales) $(objpfx)tst-vfprintf-mbs-prec.out: $(gen-locales) $(objpfx)tst-vfprintf-width-i18n.out: $(gen-locales) +$(objpfx)tst-grouping3.out: $(gen-locales) endif tst-printf-bz18872-ENV = MALLOC_TRACE=$(objpfx)tst-printf-bz18872.mtrace \ |