]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Don't use std::tolower in <charconv> [PR103911]
authorPatrick Palka <ppalka@redhat.com>
Mon, 2 May 2022 11:01:33 +0000 (07:01 -0400)
committerPatrick Palka <ppalka@redhat.com>
Mon, 2 May 2022 11:01:33 +0000 (07:01 -0400)
commit86d821ddf5615e693ead667b2580898f46de8eb9
tree6662313539316fdd8baa101eb4b6bc3c462cab8e
parent576f975cabb0fd9843de152a2d247d486a967b08
libstdc++: Don't use std::tolower in <charconv> [PR103911]

As with std::isdigit in r12-6281-gc83ecfbe74a5cf, we shouldn't be using
std::tolower in <charconv> either.

PR libstdc++/103911

libstdc++-v3/ChangeLog:

* src/c++17/floating_from_chars.cc (find_end_of_float): Accept
two delimeters for the exponent part in the form of a possibly
NULL string of length two.  Don't use std::tolower.
(pattern): Adjust calls to find_end_of_float accordingly.
libstdc++-v3/src/c++17/floating_from_chars.cc