Subject: lib/30764: printf(3) does not support the "'" XSI flag character for grouping
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <nathanw@mit.edu>
List: netbsd-bugs
Date: 07/16/2005 22:42:00
>Number:         30764
>Category:       lib
>Synopsis:       printf(3) does not support the "'" XSI flag character for grouping
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 16 22:42:00 +0000 2005
>Originator:     Nathan J. Williams
>Release:        NetBSD 3.99.6
>Organization:
	Massachvsetts Institvte of Technology
>Environment:
	
	
System: NetBSD marvin-the-martian.nathanw.com 3.99.6 NetBSD 3.99.6 (MARVIN) #95: Mon Jun 13 20:55:04 EDT 2005 nathanw@marvin-the-martian.nathanw.com:/nbsd/src/sys/arch/i386/compile/MARVIN i386
Architecture: i386
Machine: i386
>Description:
Our printf(3) implementation does not support the ' flag, used as
"%'d" or "%'f", which a thousands grouping character. 
>How-To-Repeat:
>Fix:

Implement. The easy approach would be to steal FreeBSD's
implementation, except that they integrated the lite2 printf
implementation years ago and we didn't, so there is now substantial
divergence. Perhaps we should do that anyway, since we've recently
taken their *wprintf() routines, which come from that same lite2 base.

See:

http://www.opengroup.org/onlinepubs/009695399/functions/printf.html

for documentation on the ' flag.

>Unformatted: