diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-10-09 09:53:02 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-10-09 18:54:12 +0200 |
commit | fe17037b387c6eca0c45f0526d2761e982a192bb (patch) | |
tree | 72a5117986a4f5d983c9e3bf360ad0d8845eddd4 /guix/scripts/pull.scm | |
parent | 276f368051ff52cf202ede9fce579e49d9d744ec (diff) | |
download | gnu-guix-fe17037b387c6eca0c45f0526d2761e982a192bb.tar gnu-guix-fe17037b387c6eca0c45f0526d2761e982a192bb.tar.gz |
status: Gracefully handle invalid UTF-8 in build logs.
* guix/status.scm (maybe-utf8->string): New procedure.
(build-event-output-port): Use it in lieu of 'utf8->string'.
* tests/status.scm ("build-output-port, UTF-8")
("current-build-output-port, UTF-8 + garbage"): New tests.
Diffstat (limited to 'guix/scripts/pull.scm')
0 files changed, 0 insertions, 0 deletions