[cmake-developers] [PATCH] cmArchiveWrite: don't store sparse files when using standard tar formats

Brad King brad.king at kitware.com
Mon Jul 6 15:03:01 EDT 2015


On 07/06/2015 10:54 AM, Roman Donchenko wrote:
> Sparse files in tars are a GNU extension that libarchive will use if it
> detects holes in the input file, even when using the standard pax/paxr
> formats. Not all tar implementations can handle sparse files; in particular,
> the internal implementation dpkg uses to extract packages can't. To
> maximize archive portability, turn this feature off by clearing the
> sparseness information from archive entries.

Thanks, applied:

 cmArchiveWrite: do not store sparse files when using standard tar formats
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=edae4023

-Brad



More information about the cmake-developers mailing list