[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: status: Do not pass a non-literal format string to 'format'.
From: |
guix-commits |
Subject: |
05/07: status: Do not pass a non-literal format string to 'format'. |
Date: |
Wed, 16 Feb 2022 10:55:42 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 5d4d8d83e4aa6db2e0a325e2ffb915c12fe5234d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Feb 10 23:02:43 2022 +0100
status: Do not pass a non-literal format string to 'format'.
* guix/status.scm (print-build-event): Use 'display' instead of 'format'
for hooks.
---
guix/status.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/status.scm b/guix/status.scm
index 5b903372f1..b8905c9542 100644
--- a/guix/status.scm
+++ b/guix/status.scm
@@ -503,7 +503,7 @@ substitutes being downloaded."
(let ((hook-type (assq-ref properties 'hook)))
(or (and=> (hook-message hook-type)
(lambda (msg)
- (format port (info msg))))
+ (display (info msg) port)))
(format port (info (G_ "running profile hook of type '~a'..."))
hook-type))))
(_
- branch master updated (176354c2f8 -> 6481dbda51), guix-commits, 2022/02/16
- 01/07: gexp: Preserve source location for #~ and #$ read extensions., guix-commits, 2022/02/16
- 04/07: status: Use bold more sparsely at -v1., guix-commits, 2022/02/16
- 07/07: gnu: c-vise: Fix linkage., guix-commits, 2022/02/16
- 03/07: status: Do not print .drv file names for grafts., guix-commits, 2022/02/16
- 02/07: doc: Document 'wrap-program' and 'wrap-script'., guix-commits, 2022/02/16
- 05/07: status: Do not pass a non-literal format string to 'format'.,
guix-commits <=
- 06/07: gnu: clang: Build and link as shared libraries., guix-commits, 2022/02/16