This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix strtol in Turkish locales (bug 19242)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sat, 21 Nov 2015 20:54:49 +0100
- Subject: Re: Fix strtol in Turkish locales (bug 19242)
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1511132205020 dot 15310 at digraph dot polyomino dot org dot uk> <564E2F0D dot 4080502 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1511192212350 dot 6968 at digraph dot polyomino dot org dot uk>
On 11/19/2015 11:22 PM, Joseph Myers wrote:
> 2015-11-19 Joseph Myers <joseph@codesourcery.com>
>
> [BZ #19242]
> * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
> (TOUPPER): Likewise.
> * stdlib/tst-strtol-locale-main.c: New file.
> * stdlib/tst-strtol-locale.c: Likewise.
> * stdlib/Makefile (tests): Add tst-strtol-locale.
> [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
> [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
> Depend on $(gen-locales).
> * wcsmbs/tst-wcstol-locale.c: New file.
> * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
> [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
> tr_TR.ISO-8859-9.
> [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
> Depend on $(gen-locales).
Looks good to me.
Thanks,
Florian