summary refs log tree commit diff
path: root/gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-06-04 22:53:40 +0200
committerLudovic Courtès <ludo@gnu.org>2017-06-04 23:00:32 +0200
commitde9d8f0e295928d92e0e5ea43a4e594fa78c76fb (patch)
tree1be7a033d83eaad8db727974c83991977a1eaf77 /gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch
parentfb976ada5be4634048bcbdde880729ee12f610e9 (diff)
downloadguix-de9d8f0e295928d92e0e5ea43a4e594fa78c76fb.tar.gz
ssh: Improve error reporting when 'send-files' fails.
Fixes <http://bugs.gnu.org/26972>.

* guix/ssh.scm (store-import-channel)[import]: Add 'consume-input'
procedure.  Wrap body in 'catch' and 'guard'.  Use 'open-remote-pipe'
with OPEN_BOTH instead of 'open-remote-output-pipe'.
(send-files): After the 'channel-send-eof' call, do (read port).
Interpret the result sexp and raise an error condition if needed.
Diffstat (limited to 'gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch')
0 files changed, 0 insertions, 0 deletions