[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ‘guix publish’ now compresses archives

From: Ludovic Courtès
Subject: Re: ‘guix publish’ now compresses archives
Date: Thu, 21 Jul 2016 14:43:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Andy Wingo <address@hidden> skribis:

> On Tue 19 Jul 2016 00:22, address@hidden (Ludovic Courtès) writes:
>> To recap, the difficulty with all this is that we couldn’t just call out
>> the ‘gzip’ command because ‘guix publish’ uses threads, and threads and
>> fork(2) don’t go together well.
> FWIW open-pipe or open-process from (ice-9 popen) should work reliably.
> The child is carefully written to be async-signal-safe before the
> execve().

Yes, but ‘filtered-output-port’, used by ‘compressed-output-port’ in
(guix utils) is not implemented in terms of (ice-9 popen).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]