about summary refs log tree commit diff
path: root/filters
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2022-05-07 20:07:00 +0300
committerJune McEnroe <june@causal.agency>2022-05-13 16:07:35 -0400
commit695515801c9241f106f6f99b04dc0e84439fdea5 (patch)
tree4d30ba8c55f0eb64ab6288dff16417accecf904e /filters
parentgit: update to v2.36.1 (diff)
downloadcgit-pink-695515801c9241f106f6f99b04dc0e84439fdea5.tar.gz
cgit-pink-695515801c9241f106f6f99b04dc0e84439fdea5.zip
Tolerate short writes in print_slot
sendfile() can return after a short read/write, so we may need to call
it more than once. As suggested in the manual page, we fall back to
read/write if sendfile fails with EINVAL or ENOSYS.

On the read/write path, use write_in_full which deals with short writes.

Signed-off-by: Hristo Venev <hristo@venev.name>
Diffstat (limited to 'filters')
0 files changed, 0 insertions, 0 deletions
ollow=1'>Bind up and down arrows to scrollJune McEnroe 2019-02-22Remove topic TODOJune McEnroe 2019-02-22Add /znc commandJune McEnroe 2019-02-22Update status line after scrolling and term eventsJune McEnroe 2019-02-22Reorganize input.cJune McEnroe 2019-02-22Fix name of <raw> window in man pageJune McEnroe 2019-02-22Rename global tags with angle bracketsJune McEnroe 2019-02-22Show status window while connectingJune McEnroe 2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe 2019-02-21Replace "view" with "window"June McEnroe 2019-02-21Remove ROT13June McEnroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe