This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix strtod ("NAN(I)") in Turkish locales (bug 19266)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 24 Nov 2015 20:18:19 +0100
- Subject: Re: Fix strtod ("NAN(I)") in Turkish locales (bug 19266)
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1511190037080 dot 26547 at digraph dot polyomino dot org dot uk>
On 11/19/2015 01:37 AM, Joseph Myers wrote:
> 2015-11-19 Joseph Myers <joseph@codesourcery.com>
>
> [BZ #19266]
> * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directory for
> upper case and lower case letters inside NAN(), not using TOLOWER.
> * stdlib/tst-strtod-nan-locale-main.c: New file.
> * stdlib/tst-strtod-nan-locale.c: Likewise.
> * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
> [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
> Depend on $(gen-locales).
> ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
> * wcsmbs/tst-wcstod-nan-locale.c: New file.
> * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
> [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
> Depend on $(gen-locales).
> ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
This looks good to me.
Thanks,
Florian