st
simple terminal
git clone https://9o.is/git/st.git
commit c665da09fb112e0cc8d981d27aae6fa272883c9c parent ea88f5fad379a590226a80cf570544a53b0b4eee Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 10 Jul 2015 14:19:31 +0200 No inline declarations please. Diffstat:
| M | st.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/st.c b/st.c @@ -558,10 +558,10 @@ static int frclen = 0; ssize_t xwrite(int fd, const char *s, size_t len) { - size_t aux = len; + size_t aux = len, r; while (len > 0) { - ssize_t r = write(fd, s, len); + r = write(fd, s, len); if (r < 0) return r; len -= r;