]> git.ipfire.org Git - thirdparty/xz.git/commit
xzdec: Use setlocale() instead of tuklib_gettext_setlocale()
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 19 Dec 2024 16:31:09 +0000 (18:31 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 20 Dec 2024 14:35:13 +0000 (16:35 +0200)
commitf8e42ed44d857de95e005cf306db7f40b0b4d628
treeecb705393c38c9255b6f80ecfdd691696223887d
parent3ed40b9f87c2d855fccd9a4bb6bce7e980799abe
xzdec: Use setlocale() instead of tuklib_gettext_setlocale()

xzdec isn't translated and doesn't need libintl on Windows even
when NLS is enabled, thus libintl_setlocale() cannot interfere
with the locale settings. Thus, standard setlocale() works perfectly.

In the commit 78868b6e, the explanation in the commit message is wrong.

Fixes: 78868b6ed63fa4c89f73e3dfed27abfb8b0d46db
(cherry picked from commit d6796f9ce5359faaaed82926c1735aee3694430f)
src/xzdec/xzdec.c