lix/src
alois31 a93dade821
libstore/ssh: only resume the logger when we paused it
In the SSH code, the logger was conditionally paused, but unconditionally
resumed. This was fine as long as resuming the logger was idempotent. Starting
with 0dd1d8ca1c, it isn't any more, and the
behaviour of the code in question was missed. Consequently, an assertion
failure is triggered for example when performing builds against an "SSH" store
on localhost. Fix the issue by only resuming the logger when it has actually
been paused.

Fixes: lix-project/lix#458
Change-Id: Ib1e4d047744a129f15730b7216f9c9368c2f4211
2024-08-02 18:38:14 +02:00
..
asan-options tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00
build-remote tree-wide: NULL -> nullptr 2024-07-23 21:06:55 +02:00
libcmd remove unused headers in installable-attr-path 2024-08-01 00:37:13 +00:00
libexpr Merge changes Icc4747ae,Id4717b5b,Ie3ddb3d0,Ic4d93a08,I00d9ff70 into main 2024-08-01 16:25:43 +00:00
libfetchers fix building with Musl, fixing static builds 2024-07-24 17:21:40 +00:00
libmain libutil: make basic loggers thread-safe 2024-07-20 12:33:49 +00:00
libstore libstore/ssh: only resume the logger when we paused it 2024-08-02 18:38:14 +02:00
libutil libexpr: implement actual constructors for nix::Value 2024-07-31 15:38:37 +02:00
nix tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00
nix-build tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
nix-channel util.{hh,cc}: Split out users.{hh,cc} 2024-05-29 11:01:34 +02:00
nix-collect-garbage Fix dry-run flag for nix-collect-garbage 2024-07-09 13:55:05 +00:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env Use std::strong_ordering for version comparison 2024-07-12 16:48:28 +02:00
nix-instantiate libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
nix-store libstore: remove WriteConn::sink fields 2024-07-16 00:57:42 +00:00
pch build-time: remove 20% more by PCH'ing C++ stdlib 2024-05-30 21:54:21 +00:00
resolve-system-dependencies tree-wide: NULL -> nullptr 2024-07-23 21:06:55 +02:00
lix-base.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
meson.build tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00