This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: New test for LC_NUMERIC
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Petter Reinholdtsen <pere at hungry dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 16 Apr 2003 12:16:20 -0700
- Subject: Re: New test for LC_NUMERIC
- Organization: Red Hat, Inc.
- References: <E195s4w-000454-00@saruman.uio.no>
-----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-----