Date: Thu, 13 Dec 2001 11:45:41 -0800 (PST) From: Alexey Zelkin <phantom@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio vfprintf.c Message-ID: <200112131945.fBDJjfC52857@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phantom 2001/12/13 11:45:41 PST
Modified files:
lib/libc/stdio vfprintf.c
Log:
Respect locale while handling of \' flag.
In original version grouping was hardcoded. It assumed that thousands
separator should be inserted to separate each 3 numbers. I.e. grouping
string "\003" was assumed for all cases. In correct case (per POSIX)
vfprintf should respect locale defined non-monetary (LC_NUMERIC
category) grouping sequence.
Also simplify thousands_sep handling.
Revision Changes Path
1.34 +63 -22 src/lib/libc/stdio/vfprintf.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112131945.fBDJjfC52857>
