]> git.ipfire.org Git - thirdparty/xz.git/commit
xz: Refactor thousand separator detection and disable it on MSVC.
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 31 Aug 2023 16:50:05 +0000 (19:50 +0300)
committerJia Tan <jiat0218@gmail.com>
Mon, 30 Oct 2023 17:03:25 +0000 (01:03 +0800)
commit1f6e7c68fbdeeaa9482fc77de090be63d90912fd
tree03993bc6b50af930fb0ab48e7d1e0218c3c7ca93
parentef71f83973a20cc28a3221f85681922026ea33f5
xz: Refactor thousand separator detection and disable it on MSVC.

Now the two variations of the format strings are created with
a macro, and the whole detection code can be easily disabled
on platforms where thousand separator formatting is known to
not work (MSVC has no support, and on DJGPP 2.05 it can have
problems in some cases).
src/xz/util.c