]> git.ipfire.org Git - thirdparty/systemd.git/commit
copy: add splice() based fallback
authorLennart Poettering <lennart@poettering.net>
Thu, 27 Aug 2015 22:10:35 +0000 (00:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 28 Aug 2015 00:05:42 +0000 (02:05 +0200)
commit81d20007f966e36cc8c9161b7117f3f1affdba02
treecf6e5430e667e67643a7041e45ea359b3d9b295f
parentd56cc298808b2dbfa28ae893d6f47f34df3196b1
copy: add splice() based fallback

Apparently, sendfile() does not work between fifos and ttys, but
splice() does, hence let's optionally fall back to that. This is useful
to implement the fallback pager this way.
src/basic/copy.c