-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: b705973fda32dda50ceee27f0638ea5bbba9f772: path_to: revision_to:
commit b705973fda32dda50ceee27f0638ea5bbba9f772 Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Mon Mar 7 11:48:55 2011 +0000 Handle write failure correctly in tt_write. diff --git a/src/command.C b/src/command.C
--- a/src/command.C +++ b/src/command.C @@ -4010,7 +4010,9 @@ rxvt_term::tt_write (const char *data, unsigned int len) { ssize_t written = write (pty->pty, data, min (len, MAX_PTY_WRITE)); - if ((unsigned int)written == len) + max_it (written, 0); + + if (written == len) return; data += written;
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 11:01:24 2024