Files
Velix-MPV-Core/osdep
NRK 2e7fcc5a2a terminal-unix: better error detection logic
the reason for checking `EBADF|EINVAL` specifically is unknown. but it's
clearly not working as intended since it can cause issues like #11795.

instead of checking for "bad errors" check for known "good errors" where
we might not want to break out. this includes:

* EINTR: which can happen if read() is interrupted by some signal.
* EAGAIN: which happens if a non-blocking fd would block. `tty_in` is
  _not_ non-blocking, so EAGAIN should never occur here. but it's added
  just in case that changes in the future.

Fixes: https://github.com/mpv-player/mpv/issues/11795
Closes: https://github.com/mpv-player/mpv/pull/11805
2023-07-08 09:03:06 +02:00
..
2021-11-14 19:13:10 +00:00
2022-04-02 21:41:58 +03:00
2023-02-02 14:23:02 +00:00
…
…
2023-02-02 14:23:02 +00:00
2023-06-25 11:01:58 +02:00
2023-06-25 11:01:58 +02:00
2023-06-25 11:01:58 +02:00
2022-04-25 09:07:18 -04:00
…
2023-05-09 20:37:17 +00:00
2018-08-20 17:16:22 +02:00
2022-09-03 08:46:42 -04:00