This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New test for LC_NUMERIC


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]