Date: Fri, 9 Feb 2001 17:38:18 -0800 (PST) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/locale lmonetary.c lnumeric.c Message-ID: <200102100138.f1A1cIP54769@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/02/09 17:38:18 PST
Modified files:
lib/libc/locale lmonetary.c lnumeric.c
Log:
Correct myself a bit: situation is broken not for _all_ numeric LC_MONETARY,
LC_NUMERIC fields, but only for *grouping fields - other fields are converted
to a chars in localeconv(), so final change is:
"-1" -> "127"
127 here is because CHAR_MAX supposed, which is _positive_ (SUSv2 requirement),
not negative as 255. It is still a bit of hack. To find real CHAR_MAX will be
better to sprintf() it once somewhere in static buffer. *grouping parsing
still broken and missing and needs to be implemented.
Revision Changes Path
1.3 +2 -3 src/lib/libc/locale/lmonetary.c
1.3 +2 -3 src/lib/libc/locale/lnumeric.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?200102100138.f1A1cIP54769>
