util: check and initialize locale before using it
authorThong Thai <thong.thai@amd.com>
Tue, 25 Apr 2023 20:12:53 +0000 (16:12 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 15:43:33 +0000 (15:43 +0000)
commit27eafdcbd55b86b854db84c16c5919d7f9d3cda4
tree2acaaca4b0b4c92e1fe9ed3df1d3a6caa73c543a
parent7373f25c0934882250847fb292f977d2d5569642
util: check and initialize locale before using it

Cc: mesa-stable
Signed-off-by: Thong Thai <thong.thai@amd.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22699>
src/util/strtod.c