Skip to content
Snippets Groups Projects
Forked from CMake / CMake
41022 commits behind the upstream repository.
  • Roman Donchenko's avatar
    edae4023
    cmArchiveWrite: do not store sparse files when using standard tar formats · edae4023
    Roman Donchenko authored and Brad King's avatar Brad King committed
    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.
    edae4023
    History
    cmArchiveWrite: do not store sparse files when using standard tar formats
    Roman Donchenko authored and Brad King's avatar Brad King committed
    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.
cmArchiveWrite.h 2.75 KiB