summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-12-13 19:45:41 +0000
committerphantom <phantom@FreeBSD.org>2001-12-13 19:45:41 +0000
commitaa8537df471937e689c187442b92fc37426e49fc (patch)
tree461fe4e97bf471bbd4b61ae084e8e68a7c7def4d /sys/kern/subr_param.c
parentf2aeb4ab4f8a949bcb626b61fe607f2d2160aaf4 (diff)
downloadFreeBSD-src-aa8537df471937e689c187442b92fc37426e49fc.zip
FreeBSD-src-aa8537df471937e689c187442b92fc37426e49fc.tar.gz
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.
Diffstat (limited to 'sys/kern/subr_param.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud