aboutsummaryrefslogtreecommitdiff
path: root/src/xz/util.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-01-31Improve displaying of the memory usage limit.Lasse Collin1-0/+7
2010-01-26Fix too small static buffer in util.c.Lasse Collin1-5/+4
This was introduced in 0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
2010-01-24Some improvements to printing sizes in xz.Lasse Collin1-0/+72
2010-01-13Don't read compressed data from a terminal or write itLasse Collin1-4/+4
to a terminal even if --force is specified. It just seems more reasonable this way. The new behavior matches bzip2. The old one matched gzip.
2009-08-29Use even more hackish way to support thousand separators.Lasse Collin1-11/+25
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-06-26Ugly hack to make it possible to use the thousand separatorLasse Collin1-0/+34
format character with snprintf() on POSIX systems but not on non-POSIX systems and still keep xgettext working.
2009-05-21Support special value "max" where xz and xzdec accept an integer.Lasse Collin1-0/+4
Don't round the memory usage limit in xzdec --help to avoid an integer overflow and to not give wrong impression that the limit is high enough when it may not actually be.
2009-04-13Put the interesting parts of XZ Utils into the public domain.Lasse Collin1-10/+3
Some minor documentation cleanups were made at the same time.
2009-02-05Various code cleanups the the xz command line tool.Lasse Collin1-3/+2
It now builds with MinGW.
2008-11-19Renamed lzma to xz and lzmadec to xzdec. We create symlinksLasse Collin1-0/+199
lzma, unlzma, and lzcat in "make install" for backwards compatibility with LZMA Utils 4.32.x; I'm not sure if this should be the default though.