liblzma/src
Lasse Collin 94c66b3297 Use even more hackish way to support thousand separators.
Seems that in addition on Windows and DOS, also OpenBSD
lacks support for %'d style printf() format strings.
So far that is the only modern POSIX-like system I know
with this problem, but after this hack, the thousand
separator shouldn't be a problem on any system.

Maybe testing if a format string like %'d produces
reasonable output is invoking undefined behavior on some
systems, but so far all the problematic systems I've tried
just print the raw format string (e.g. %'d prints 'd).

Maybe Autoconf test would have been better, but this
hack works also for cross-compilation, and avoids
recompilation in case the system libc starts to support
the thousand separator.
2009-08-29 14:43:52 +03:00
..
common Fix sysctl() usage. 2009-08-29 13:39:21 +03:00
liblzma Fix x86 assembler on GCC 3. 2009-08-29 13:35:23 +03:00
lzmainfo Link lzmainfo against shared liblzma by default. 2009-08-13 15:03:46 +03:00
scripts “xzdiff a.xz b.xz” always fails 2009-08-09 22:55:19 +03:00
xz Use even more hackish way to support thousand separators. 2009-08-29 14:43:52 +03:00
xzdec Sync some error messages from xz to xzdec. 2009-08-13 12:42:36 +03:00
Makefile.am Add lzmainfo for backward compatibility with LZMA Utils. 2009-08-13 12:55:45 +03:00