[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: substitute: Progress port really closes underlying port.
From: |
Ludovic Courtès |
Subject: |
05/06: substitute: Progress port really closes underlying port. |
Date: |
Tue, 25 Sep 2018 12:46:10 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f85dbc4f3bcdc9f11cea9cca4feffee2e57a4412
Author: Ludovic Courtès <address@hidden>
Date: Tue Sep 25 12:28:55 2018 +0200
substitute: Progress port really closes underlying port.
* guix/scripts/substitute.scm (progress-report-port): Use 'close-port'
instead of 'close-connection'. Move 'stop' call first.
---
guix/scripts/substitute.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 6d31dfd..50c6a22 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -837,8 +837,8 @@ REPORTER, which should be a <progress-reporter> object."
(make-custom-binary-input-port "progress-port-proc"
read! #f #f
(lambda ()
- (close-connection port)
- (stop)))))))
+ (stop)
+ (close-port port)))))))
(define-syntax with-networking
(syntax-rules ()
- branch master updated (38e1095 -> 88268a3), Ludovic Courtès, 2018/09/25
- 01/06: gnu: Add guile-next., Ludovic Courtès, 2018/09/25
- 03/06: gnupg: Change default keyserver., Ludovic Courtès, 2018/09/25
- 05/06: substitute: Progress port really closes underlying port.,
Ludovic Courtès <=
- 04/06: progress: 'progress-reporter-report!' takes any number of arguments., Ludovic Courtès, 2018/09/25
- 06/06: pull: Try harder to use the host's X.509 certificates., Ludovic Courtès, 2018/09/25
- 02/06: gnu: diffoscope: Update to 102., Ludovic Courtès, 2018/09/25