New test for LC_NUMERIC

Ulrich Drepper drepper@redhat.com
Wed Apr 16 19:16:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Petter Reinholdtsen wrote:
> I started with the fmon test, and rewrote it to use snprintf() and
> LC_NUMERIC instead.  Will this be accepted as part of glibc?  How
> should I submit it.  I can send it as a diff against tst-fmon.*, or
> perhaps make the new files available on the web somewhere?

How large is the patch?


> I called it tst-numeric, but perhaps tst-snprintf() is better?  I just
> sets LC_NUMERIC, and calls snprintf() and compare the result.  I use
> it with "%'g" to check the norwegian locales.

Don't just set LC_NUMERIC, always use LC_ALL.

As for the name or putting it in an existing file, it doesn't really matter.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+nawE2ijCOnn/RHQRAp7XAJ9YVS35tcbtyNnoTSq1T/KAVQ+nWgCfbqHN
xdCieXmSUmAvvn6o7rnZO5Q=
=Qldn
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list