mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
store: Use 'write-bytevector' instead of hand-coded equivalent.
* guix/store.scm (process-stderr): Use 'write-bytevector' in the %STDERR-READ case.
This commit is contained in:
parent
cd041b268e
commit
396d12faea
1 changed files with 1 additions and 3 deletions
|
@ -581,9 +581,7 @@ (define %stderr-error #x63787470) ; "cxtp", error reporting
|
|||
(let* ((max-len (read-int p))
|
||||
(data (make-bytevector max-len))
|
||||
(len (get-bytevector-n! user-port data 0 max-len)))
|
||||
(write-int len p)
|
||||
(put-bytevector p data 0 len)
|
||||
(write-padding len p)
|
||||
(write-bytevector data p)
|
||||
#f))
|
||||
((= k %stderr-next)
|
||||
;; Log a string. Build logs are usually UTF-8-encoded, but they
|
||||
|
|
Loading…
Reference in a new issue