wm4
95e3a6e67e
terminal: fix segfault when backgrounding
...
In the recent terminal commit, I "compressed" the read() error handling,
and messed it up. The return value could be -1 for other non-fatal
errors (such as EIO when trying to read while backgrounded), which
resulted in buf.len getting messed up.
Fixes: 602384348e
2020-09-21 19:31:15 +02:00
..
2020-05-15 16:37:41 +02:00
2020-08-22 14:22:49 +02:00
2020-03-19 00:11:23 +01:00
2020-03-05 22:00:50 +01:00
2020-08-16 12:24:19 +03:00
2020-08-16 12:24:19 +03:00
2019-12-15 20:07:31 +01:00
2020-02-22 13:56:31 +01:00
2020-09-20 15:28:50 +02:00
2020-09-20 15:28:50 +02:00
2020-02-22 13:56:31 +01:00
2019-12-15 20:07:31 +01:00
2020-02-22 13:56:31 +01:00
2020-02-08 10:55:07 +01:00
2020-08-08 15:00:25 +03:00
2020-06-04 16:59:05 +02:00
2020-06-25 17:56:16 +02:00
2020-06-25 17:56:16 +02:00
2020-07-20 21:02:17 +02:00
2020-08-16 02:54:44 +02:00
2020-07-20 21:02:17 +02:00
2020-07-20 21:02:17 +02:00
2020-08-16 02:54:44 +02:00
2020-09-21 19:31:15 +02:00
2020-07-20 21:02:17 +02:00
2020-04-23 13:58:16 +02:00
2020-03-18 22:42:13 +01:00
2020-07-20 21:02:17 +02:00
2020-07-20 21:02:17 +02:00