From 5fb0df6f63e02c141e8a0e5ad4543dea525df3fc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 1 May 2017 11:02:36 +0200 Subject: Reimplement tar invocations to do manual decompression This is needed to prevent tar from forking, which doesn't work reliably on MSYS2. --- bpkg/archive | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bpkg/archive') diff --git a/bpkg/archive b/bpkg/archive index 918734c..1f33538 100644 --- a/bpkg/archive +++ b/bpkg/archive @@ -20,10 +20,12 @@ namespace bpkg package_dir (const path& archive); // Start the process of extracting the specified file from the archive. If - // error is false, then redirect STDERR to STDOUT (this can be used, for + // error is false, then redirect STDERR to /dev/null (this can be used, for // example, to suppress diagnostics). // - butl::process + // Return a pair of processes that form a pipe. Wait on the second first. + // + pair start_extract (const common_options&, const path& archive, const path& file, -- cgit v1.1