commit c8e5102858f4231fc2ce7fa0c4bc07c68b9f1461 parent 8c237791feb6bfecb6318d57732a7cf044bc3427 Author: sin <sin@2f30.org> Date: Fri, 15 Nov 2013 14:30:47 +0000 Don't buffer, it is more cool Diffstat:
M | rs.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rs.c b/rs.c @@ -52,7 +52,7 @@ ttyrestore(void) static int loop(void) { - unsigned char buf[BUFSIZ]; + unsigned char buf[1]; ssize_t n = 0; while (!done) {