GNU bug report logs - #7829
locale-related printf bug when using formats with thousands grouping character

Previous Next

Package: coreutils;

Reported by: Eric Blake <eblake <at> redhat.com>

Date: Wed, 12 Jan 2011 13:51:02 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 7829 <at> debbugs.gnu.org
Subject: Re: bug#7829: locale-related printf bug when using formats with
 thousands grouping character
Date: Thu, 18 Oct 2018 19:51:24 -0600
tags 7829 fixed
close 7829
stop

(triaging old bugs)

On 12/01/11 06:58 AM, Eric Blake wrote:
> Ouch - coreutils' printf is also affected:
> 
> $ /usr/bin/printf %\'.2f\\n 999.9998 999999.9998 1000000
> 1000.00
> ,000,000.00
> 1,000,000.00
> 
> At least printf(1) already uses the xprintf-posix module, so hopefully
> this gets fixed once gnulib works around the glibc bug.

I just verified this works fine with recent coreutils version, so closing.

-assaf





This bug report was last modified 6 years and 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.