summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-01-05 00:20:50 +0100
committerLudovic Courtès <ludo@gnu.org>2024-01-05 17:27:20 +0100
commit4e431fda5f2ec76b6d6a271be7c30b1324431329 (patch)
tree92c8bb572cb60c96739a02b2263d4cfb39468a22 /etc
parent5cec983e043259d2b13c194bff0a70459eed11d3 (diff)
downloadguix-4e431fda5f2ec76b6d6a271be7c30b1324431329.tar.gz
services: shepherd: Remove ‘dynamic-wind’ in ‘call-with-*-file’.
Fixes <https://issues.guix.gnu.org/64653>.

The ‘dynamic-wind’ was causing files to be closed prematurely when
leaving the dynamic extent of PROC for instance via a delimited
continuation, using Fibers (that ‘dynamic-wind’ call was also
semantically incorrect in the first place).

* gnu/services/shepherd.scm (shepherd-configuration-file)
[config](call-with-file): Remove.
(call-with-input-file, call-with-output-file): Rewrite in terms of
‘call-with-port’.

Change-Id: Ica8af71a04f525a15be99985552063cb98cd6ee8
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions